using Castle.ActiveRecord; using System; using System.Text; using NHibernate.Criterion; namespace BizCom { [ActiveRecord("CE_ErpMessageTip")] public class CeErpMessageTip : ComBase { [PrimaryKey(PrimaryKeyType.Native)] public int ID { get; set; } private string _tid = ""; /// ///交易编号 /// [Property] public string tid { get { return _tid; } set { _tid = value; } } private int _type = 0; [Property] public int type { get { return _type; } set { _type = value; } } //用户id private int _userId = 0; [Property] public int userId { get { return _userId; } set { _userId = value; } } private int _sectionId = 0; [Property] public int sectionId { get { return _sectionId; } set { _sectionId = value; } } //是否已读 private Boolean _isVisit = false; [Property] public Boolean isVisit { get { return _isVisit; } set { _isVisit = value; } } //通知内容 private string _content = ""; [Property] public string content { get { return _content; } set { _content = value; } } } }