using System; using System.ComponentModel.DataAnnotations; namespace GroupLine.App.ModelDto { [MetadataType(typeof(GShrinkTubDto))] public class GShrinkTubDto : ValidateModelBase { /// /// ID /// private long _Id; public long Id { get { return _Id; } set { _Id = value; RaisePropertyChanged(() => Id); } } private string _CylinderNo; /// /// 筒体编号 /// public string CylinderNo { get { return _CylinderNo; } set { _CylinderNo = value; RaisePropertyChanged(() => CylinderNo); } } private string _OpNo; /// /// 员工编号 /// public string OpNo { get { return _OpNo; } set { _OpNo = value; RaisePropertyChanged(() => OpNo); } } private decimal _FinalLoad; /// /// 终负荷 /// public decimal FinalLoad { get { return _FinalLoad; } set { _FinalLoad = value; RaisePropertyChanged(() => FinalLoad); } } private decimal _FinalLocation; /// /// 终位置 /// public decimal FinalLocation { get { return _FinalLocation; } set { _FinalLocation = value; RaisePropertyChanged(() => FinalLocation); } } private string _Result; /// /// 判定 /// public string Result { get { return _Result; } set { _Result = value; RaisePropertyChanged(() => Result); } } private DateTime _CreateTime; /// /// 创建时间 /// public DateTime CreateTime { get { return _CreateTime; } set { _CreateTime = value; RaisePropertyChanged(() => CreateTime); } } } }