using Castle.ActiveRecord; using System; using System.Text; using NHibernate.Criterion; namespace BizCom { [ActiveRecord("Ce_ErpMessageAPI")] public class CeErpMessageAPI : ComBase { [PrimaryKey(PrimaryKeyType.Native)] public int ID { get; set; } private string _tid = ""; /// ///交易编号 /// [Property] public string tid { get { return _tid; } set { _tid = value; } } private string _ctid = ""; /// ///交易编号 /// [Property] public string ctid { get { return _ctid; } set { _ctid = value; } } //用户id private int _userId = 0; [Property] public int userId { get { return _userId; } set { _userId = value; } } //是否成功 private Boolean _isVisit = false; [Property] public Boolean isVisit { get { return _isVisit; } set { _isVisit = value; } } //是否已经推送 private Boolean _getToApi = false; [Property] public Boolean getToApi { get { return _getToApi; } set { _getToApi = value; } } /// ///发起时间 /// [Property] public DateTime? creationtime { get; set; } //通知内容 private string _content = ""; [Property] public string content { get { return _content; } set { _content = value; } } } }