using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Entity { /// /// /// [SugarTable("inspect_record")] public class InspectRecord : CorpEntity, ICloneable { /// /// /// public InspectRecord() { } /// /// /// /// public InspectRecord(InspectRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.ProductID = rhs.ProductID; this.RepairRequestID = rhs.RepairRequestID; this.WorryCount = rhs.WorryCount; this.RecordDay = rhs.RecordDay; this.EmployeeID = rhs.EmployeeID; this.Note = rhs.Note; this.CompleteStatus = rhs.CompleteStatus; this.ProgressInfo = rhs.ProgressInfo;//进度 类似 2/10 表示10项 填写了2项 } #region Model /// /// ProductID /// public long ProductID { get { return _productid; } set { _productid = value; } } private long _productid; /// /// RepairRequestID /// public long RepairRequestID { get { return _repairrequestid; } set { _repairrequestid = value; } } private long _repairrequestid; /// /// CompleteStatus /// public int CompleteStatus { get { return _completeStatus; } set { _completeStatus = value; } } private int _completeStatus = 0; /// /// WorryCount /// public int WorryCount { get { return _worrycount; } set { _worrycount = value; } } private int _worrycount; /// /// RecordDay /// public DateTime RecordDay { get { return _recordday; } set { _recordday = value; } } private DateTime _recordday; /// /// /// public string Note { get; set; } /// /// EmployeeID /// public long EmployeeID { get { return _employeeid; } set { _employeeid = value; } } private long _employeeid; /// /// /// public string ProgressInfo { get; set; } #endregion Model #region Clone /// /// /// /// public InspectRecord Clone() { return new InspectRecord(this); } /// /// /// /// object ICloneable.Clone() { return this.Clone(); } #endregion Clone } }