using IStation.Model.Repair;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Application
|
{
|
/// <summary>
|
/// 我的待接单的维修单手机dto
|
/// </summary>
|
public class MyRepairTaskFormAssignedMobileDto
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public MyRepairTaskFormAssignedMobileDto() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public MyRepairTaskFormAssignedMobileDto(Model.RepairTaskForm rhs)
|
{
|
this.ID = rhs.ID;
|
this.FormNo = rhs.FormNo;
|
this.FormName = rhs.FormName;
|
this.Faq = rhs.Faq;
|
this.Urgency = rhs.Urgency;
|
this.Question = rhs.Question;
|
this.Address = rhs.Address;
|
this.CreateTime = rhs.CreateTime;
|
var product = new Service.Product().GetByID(rhs.CorpID,rhs.ProductID);
|
this.ProductName = product?.Name;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 表单号
|
/// </summary>
|
public string FormNo { get; set; }
|
|
/// <summary>
|
/// 表单名称
|
/// </summary>
|
public string FormName { get; set; }
|
|
/// <summary>
|
/// 问题编码
|
/// </summary>
|
public string Faq { get; set; }
|
|
/// <summary>
|
/// 问题描述
|
/// </summary>
|
public string Question { get; set; }
|
|
/// <summary>
|
/// 紧急程度
|
/// </summary>
|
public eUrgency Urgency { get; set; }
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
public string Address { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
public DateTime CreateTime { get; set; }
|
|
/// <summary>
|
/// 设备名称
|
/// </summary>
|
public string ProductName { get; set; }
|
|
|
|
|
}
|
}
|