159 lines
4.1 KiB
C#
159 lines
4.1 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace DeviceRepair.Models
|
|||
|
{
|
|||
|
public class DeviceWarrantyRequestMaintaionView
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 自增长主键
|
|||
|
///</summary>
|
|||
|
public int AutoID { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 唯一编号
|
|||
|
/// 默认值: (newid())
|
|||
|
///</summary>
|
|||
|
public Guid Guid { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 停机单编号
|
|||
|
///</summary>
|
|||
|
public int FormID { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 现象区分
|
|||
|
///</summary>
|
|||
|
public int SymptomlDistinction { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 维修方式
|
|||
|
///</summary>
|
|||
|
public int Maintenance { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 配件列表
|
|||
|
/// </summary>
|
|||
|
public List<DeviceWarrantyRequestAccessoriesInfo> AccessoriesItems { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 开始时间
|
|||
|
///</summary>
|
|||
|
public DateTime MaintainStartTime { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 结束时间
|
|||
|
///</summary>
|
|||
|
public DateTime MaintainEndTime { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 故障原因
|
|||
|
///</summary>
|
|||
|
public string MaintainCause { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 故障内容
|
|||
|
///</summary>
|
|||
|
public string MaintainContent { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 是否需要再次验证
|
|||
|
///</summary>
|
|||
|
public bool BeValidate { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 理由
|
|||
|
///</summary>
|
|||
|
public string Reason { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 验证编号
|
|||
|
///</summary>
|
|||
|
public string ValidateNo { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 创建时间
|
|||
|
/// </summary>
|
|||
|
public DateTime CreatOn { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 创建人
|
|||
|
/// </summary>
|
|||
|
public int CreateBy { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 修改时间
|
|||
|
/// </summary>
|
|||
|
public DateTime ModifyOn { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 修改人
|
|||
|
/// </summary>
|
|||
|
public int ModifyBy { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 维修提交时间
|
|||
|
/// </summary>
|
|||
|
public DateTime SubmitOn { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 维修提交人
|
|||
|
/// </summary>
|
|||
|
public int SubmitBy { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 验证时间
|
|||
|
/// </summary>
|
|||
|
public DateTime ValidateOn { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 验证人
|
|||
|
/// </summary>
|
|||
|
public int ValidateBy { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 验证时间
|
|||
|
/// </summary>
|
|||
|
public DateTime Validate2On { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 验证人
|
|||
|
/// </summary>
|
|||
|
public int Validate2By { get; set; }
|
|||
|
|
|||
|
public bool IsSubmit { get; set; }
|
|||
|
|
|||
|
public DeviceWarrantyRequestMaintaionInfo TodbModel()
|
|||
|
{
|
|||
|
|
|||
|
DeviceWarrantyRequestMaintaionInfo dbModel = new DeviceWarrantyRequestMaintaionInfo
|
|||
|
{
|
|||
|
BeValidate = BeValidate,
|
|||
|
FormID = FormID,
|
|||
|
IsSubmit = IsSubmit,
|
|||
|
MaintainCause = MaintainCause,
|
|||
|
MaintainContent = MaintainContent,
|
|||
|
MaintainStartTime = MaintainStartTime,
|
|||
|
MaintainEndTime = MaintainEndTime,
|
|||
|
Maintenance = Maintenance,
|
|||
|
CreatOn = CreatOn,
|
|||
|
AutoID = AutoID,
|
|||
|
CreateBy = CreateBy,
|
|||
|
Guid = Guid,
|
|||
|
ModifyBy = ModifyBy,
|
|||
|
ModifyOn = ModifyOn,
|
|||
|
Reason = Reason,
|
|||
|
SubmitBy = SubmitBy,
|
|||
|
SubmitOn = SubmitOn,
|
|||
|
SymptomlDistinction = SymptomlDistinction,
|
|||
|
ValidateNo = ValidateNo,
|
|||
|
ValidateBy = ValidateBy,
|
|||
|
ValidateOn = ValidateOn,
|
|||
|
Validate2By = Validate2By,
|
|||
|
Validate2On = Validate2On
|
|||
|
};
|
|||
|
return dbModel;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|