using System; using Lskj.DevFx.Data; using Lskj.DevFx.Core; namespace Lskj.Model { /// /// 实体类P_ProductExplainTab 。(属性说明自动提取数据库字段的描述信息) /// [Serializable] public class P_ProductExplainTab : BaseModel { public P_ProductExplainTab() { TableName = "P_ProductExplainTab"; AddField("ID", FieldType.Int32,4, "", false,default(int)); AddField("Source", FieldType.VarChar,100, "", true); AddField("StrSource", FieldType.VarChar,100, "", true); AddField("Explain", FieldType.VarChar,100, "", true); AddField("StrExplain", FieldType.VarChar,100, "", true); AddField("MaxCount", FieldType.Int32,4, "", true); } /// /// /// //[Description("")] public int ID { set{ SetValue("ID",value);} get{return GetInt32("ID");} } /// /// /// //[Description("")] public string Source { set{ SetValue("Source",value);} get{return GetString("Source");} } /// /// /// //[Description("")] public string StrSource { set{ SetValue("StrSource",value);} get{return GetString("StrSource");} } /// /// /// //[Description("")] public string Explain { set{ SetValue("Explain",value);} get{return GetString("Explain");} } /// /// /// //[Description("")] public string StrExplain { set{ SetValue("StrExplain",value);} get{return GetString("StrExplain");} } /// /// /// //[Description("")] public int MaxCount { set{ SetValue("MaxCount",value);} get{return GetInt32("MaxCount");} } } }