89 lines
2.3 KiB
C#
89 lines
2.3 KiB
C#
using GroupLine.App.ModelDto;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace GroupLine.App
|
|
{
|
|
[MetadataType(typeof(OilPumpInstallDto))]
|
|
public class OilPumpInstallDto : ValidateModelBase
|
|
{
|
|
private string _CylinderNo;
|
|
/// <summary>
|
|
/// 筒体编号
|
|
/// </summary>
|
|
public string CylinderNo
|
|
{
|
|
get { return _CylinderNo; }
|
|
set { _CylinderNo = value; RaisePropertyChanged(() => CylinderNo); }
|
|
}
|
|
|
|
|
|
private string _ModelType;
|
|
/// <summary>
|
|
/// 机种类型
|
|
/// </summary>
|
|
public string ModelType
|
|
{
|
|
get { return _ModelType; }
|
|
set { _ModelType = value; RaisePropertyChanged(() => CylinderNo); }
|
|
}
|
|
|
|
private string _OilPumpNo;
|
|
/// <summary>
|
|
/// 油泵编号
|
|
/// </summary>
|
|
public string OilPumpNo
|
|
{
|
|
get { return _OilPumpNo; }
|
|
set { _OilPumpNo = value; RaisePropertyChanged(() => OilPumpNo); }
|
|
}
|
|
private string _OpNo;
|
|
/// <summary>
|
|
/// 员工编号
|
|
/// </summary>
|
|
public string OpNo
|
|
{
|
|
get { return _OpNo; }
|
|
set { _OpNo = value; RaisePropertyChanged(() => OpNo); }
|
|
}
|
|
private int _OilPumpDmge;
|
|
/// <summary>
|
|
/// 油泵磕伤确认
|
|
/// </summary>
|
|
public int OilPumpDmge
|
|
{
|
|
get { return _OilPumpDmge; }
|
|
set { _OilPumpDmge = value; RaisePropertyChanged(() => OilPumpDmge); }
|
|
}
|
|
private int _Repair;
|
|
/// <summary>
|
|
/// 是否是返修品
|
|
/// </summary>
|
|
public int Repair
|
|
{
|
|
get { return _Repair; }
|
|
set { _Repair = value; RaisePropertyChanged(() => Repair); }
|
|
}
|
|
private string _Result;
|
|
/// <summary>
|
|
/// 结果
|
|
/// </summary>
|
|
public string Result
|
|
{
|
|
get { return _Result; }
|
|
set { _Result = value; RaisePropertyChanged(() => Result); }
|
|
}
|
|
private DateTime _CreateTime;
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime CreateTime
|
|
{
|
|
get { return _CreateTime; }
|
|
set { _CreateTime = value; RaisePropertyChanged(() => CreateTime); }
|
|
}
|
|
|
|
|
|
}
|
|
}
|