/****************************************** * 模块名称:实体 WIP_SN * 当前版本:1.0 * 开发人员:Ben * 生成时间:2021/9/3 * 版本历史:此代码由 VB/C#.Net实体代码生成工具(EntitysCodeGenerate 4.8) 自动生成。 * ******************************************/ using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using SqlSugar; namespace Tiger.Model { /// /// 实体 WIP_SN /// [Description("Primary:")] [Serializable] [SugarTable("WIP_SN")] public class WIP_SN { #region 构造函数 /// /// 实体 WIP_SN /// public WIP_SN(){} #endregion #region 私有变量 private string _id = null; private DateTime _create_time = DateTime.Now; private string _create_user = null; private DateTime _update_time = DateTime.MinValue; private string _update_user = null; private string _sn = null; private string _inner_sn = null; private string _outer_sn = null; private string _vechicle_sn = null; private string _status = null; private string _type = null; private string _curroper = null; private string _fromoper = null; private string _scanner = null; private int _seq_no = 0; private int _retesttimes = -1; private string _remark = null; #endregion #region 公共属性 /// /// ID /// [SugarColumn(IsPrimaryKey = true)] public string ID { set{ _id=value;} get{return _id;} } /// /// 创建时间(NOT NULL) /// public DateTime CREATE_TIME { set { _create_time = value; } get { return _create_time; } } /// /// 创建者 /// public string CREATE_USER { set { _create_user = value; } get { return _create_user; } } /// /// 修改时间 /// public DateTime UPDATE_TIME { set { _update_time = value; } get { return _update_time; } } /// /// 修改者 /// public string UPDATE_USER { set { _update_user = value; } get { return _update_user; } } /// /// SN /// public string SN { set { _sn = value; } get { return _sn; } } /// /// InnerSN /// public string InnerSN { set { _inner_sn = value; } get { return _inner_sn; } } /// /// OuterSN /// public string OuterSN { set { _outer_sn = value; } get { return _outer_sn; } } /// /// VechicleSN /// public string VechicleSN { set{ _vechicle_sn=value;} get{return _vechicle_sn; } } /// /// Status /// public string Status { set{ _status=value;} get{return _status;} } /// /// Type /// public string Type { set { _type = value; } get { return _type; } } /// /// CurrOper /// public string CurrOper { set{ _curroper=value;} get{return _curroper;} } /// /// FromOper /// public string FromOper { set{ _fromoper=value;} get{return _fromoper;} } /// /// Scanner /// public string Scanner { set { _scanner = value; } get { return _scanner; } } /// /// Order_ID /// public Int32 SeqNo { set { _seq_no = value; } get { return _seq_no; } } /// /// Order_ID /// public Int32 RetestTimes { set { _retesttimes = value; } get { return _retesttimes; } } /// /// Remark /// public string Remark { set{ _remark=value;} get{return _remark; } } #region 虚拟属性 [SugarColumn(IsIgnore = true)] public string DisplayValue { get; set; } #endregion #endregion } /// /// WIP_SN实体集 /// [Serializable] public class WIP_SNS : CollectionBase { #region 构造函数 /// /// WIP_SN实体集 /// public WIP_SNS(){} #endregion #region 属性方法 /// /// WIP_SN集合 增加方法 /// public void Add(WIP_SN entity) { this.List.Add(entity); } /// /// WIP_SN集合 索引 /// public WIP_SN this[int index] { get { return (WIP_SN)this.List[index]; } set { this.List[index] = value; } } #endregion } }