using System; using System.Collections.Generic; using System.Text; namespace DTO { public class SysCodeDTO { public string Id { get; set; } public string CodeTable { get; set; } public string CodeField { get; set; } public string Comments { get; set; } public string RecStatus { get; set; } public string Creater { get; set; } public DateTime Createtime { get; set; } public string Modifier { get; set; } public DateTime Modifytime { get; set; } } public class SysCodeDtlSearchEntity : SearchEntity { /// /// 明细编号 /// public string CodeSn { set; get; } /// /// 明细名称 /// public string Comments { set; get; } /// /// 明细父级 /// public string Contents { set; get; } /// /// 隐码关联表 /// public string CodeTable { set; get; } public string CodeField { set; get; } public string WentiId { set; get; } /// /// 排序 /// public string Sort { set; get; } public string Classify1 { set; get; } } public class SysCodeSearchEntity : SearchEntity { public SysCodeSearchEntity() { CodeTable = ""; CodeField = ""; Comments = ""; RecStatus = ""; } /// /// 隐码关联表 /// public string CodeTable { set; get; } public string CodeField { set; get; } /// /// 隐码名称 /// public string Comments { set; get; } /// /// 隐码状态 /// public string RecStatus { set; get; } } #region SaveEntity /// ///仅用于数据查询 /// public class CodeDataEntity : SearchEntity { public CodeDataEntity() { CodeId = ""; CodeTable = ""; CodeField = ""; CodeSn = ""; Comments = ""; Contents = ""; RecStatus = ""; Createtime = ""; } /// /// 隐码ID /// public string CodeId { set; get; } /// /// 隐码关联表 /// public string CodeTable { set; get; } /// /// 隐码关联字段 /// public string CodeField { set; get; } /// /// 明细隐码编号 /// public string CodeSn { set; get; } /// /// 隐码名称 /// public string Comments { set; get; } /// /// 隐码名称内容 /// public string Contents { set; get; } /// /// 隐码状态 /// public string RecStatus { set; get; } /// /// 创建时间 /// public string Createtime { get; set; } /// /// 排序编号 /// public int Sort { get; set; } /// /// 修改时间 /// public DateTime? Modifytime { get; set; } } #endregion /// /// SysCodeEntity 数据表[ sys_code] 的摘要说明,相关信息 主信息:SysCode(sys_code 隐码主表),关联信息|SysCodeDtl(sys_code_dtl 隐码明细表) /// [Serializable] public class SysCodeInfoEntity : ResultEntity { /// /// 示例主表 /// public SysCodeEntity SysCode { get; set; } /// /// 隐码明细表 /// public List SysCodeDtlList { get; set; } public List DellDtlList { get; set; } } #region 主实体 SysCodeEntity /// /// SysCodeEntity 实体 数据表[ sys_code] 的摘要说明 表相关信息:隐码主表 /// public partial class SysCodeEntity { public string Id { get; set; }//隐码ID public string CodeTable { set; get; }//隐码关联表 public string CodeField { set; get; }//隐码关联字段 public string Comments { set; get; }//隐码描述 public string RecStatus { set; get; }//隐码状态 /// /// 状态 /// public string RecStatusName { get; set; } public string Creater { set; get; }//创建人 public DateTime Createtime { set; get; }//创建时间 /// /// 创建时间 /// public string CreatetimeStr { get; set; } public string Modifier { set; get; }//修改人 public DateTime Modifytime { set; get; }//修改时间 /// /// 地址 /// public string Url { get; set; } } #endregion #region 明细实体 #region SysCodeDtlEntity /// /// SysCodeDtlEntity 实体 数据表[ sys_code_dtl] 的摘要说明 表相关信息:隐码明细表 /// public class SysCodeDtlEntity { public string Id { set; get; }//ID public string CodeSn { set; get; }//隐码编号 public string CodeId { set; get; }//隐码ID public string Comments { set; get; }//隐码明细描述 public string Contents { set; get; }//详细内容 public int Sort { set; get; }//排序 public string RecStatus { set; get; }//状态 public string Creater { set; get; }//创建人 public DateTime Createtime { set; get; }//创建时间 public string Modifier { set; get; }//修改人 public DateTime Modifytime { set; get; }//修改时间 public string CreatetimeStr { get; set; } public string RecStatusName { get; set; } public string CommentsName { set; get; } public string Classify1 { get; set; } public string Classify1Name { set; get; } } #endregion #endregion }