using Castle.ActiveRecord; using NHibernate.Criterion; namespace BizCom { [ActiveRecord("CE_ErpToManagement")] public class CeErpToManagement : ComBase { [PrimaryKey(PrimaryKeyType.Assigned)] public string tid { get; set; } private string _ctid = ""; /// ///交易编号 /// [Property] public string ctid { get { return _ctid; } set { _ctid = value; } } private int _type = 0; [Property] public int type { get { return _type; } set { _type = value; } } } }