namespace Yw.Dto { /// /// 我的进行中的维修单dto /// public class MyRepairTaskFormProgressDto { /// /// /// public MyRepairTaskFormProgressDto() { } /// /// /// public MyRepairTaskFormProgressDto(Model.RepairTaskForm rhs, Model.Equipment equipment = null) { this.ID = rhs.ID; this.EquipmentID = rhs.EquipmentID; this.RequestID = rhs.RequestID; this.FormNo = rhs.FormNo; this.FormName = rhs.FormName; this.FormStatus = rhs.FormStatus; this.Faq = rhs.Faq; this.Urgency = rhs.Urgency; this.Question = rhs.Question; this.Address = rhs.Address; this.Location = rhs.Location; this.CreateTime = rhs.CreateTime; this.CreateUserID = rhs.CreateUserID; this.CreateUserName = rhs.CreateUserName; this.UpdateTime = rhs.UpdateTime; this.UpdateUserID = rhs.UpdateUserID; this.UpdateUserName = rhs.UpdateUserName; this.EquipmentName = equipment?.Name; } /// /// id /// public long ID { get; set; } /// /// 设备id /// public long EquipmentID { get; set; } /// /// 报修单id /// public long? RequestID { get; set; } /// /// 表单号 /// public string FormNo { get; set; } /// /// 表单名称 /// public string FormName { get; set; } /// /// 工单状态 /// public eTaskStatus FormStatus { get; set; } /// /// 问题编码 /// public string Faq { get; set; } /// /// 问题描述 /// public string Question { get; set; } /// /// 紧急程度 /// public eUrgency Urgency { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 位置 /// public List Location { get; set; } /// /// 创建用户id /// public long CreateUserID { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 创建人名称 /// public string CreateUserName { get; set; } /// /// 更新用户id /// public long? UpdateUserID { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// 更新人名称 /// public string UpdateUserName { get; set; } /// /// 设备名称 /// public string EquipmentName { get; set; } } }