using IStation.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Application
{
///
/// 设备变更记录业务Dto
///
public class ProductModifyRecordContentLogicDto
{
///
///
///
public ProductModifyRecordContentLogicDto() { }
///
///
///
public ProductModifyRecordContentLogicDto(Model.ProductModifyRecord rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.ProductID = rhs.ProductID;
this.Caption = rhs.Caption;
this.ModifyType = rhs.ModifyType;
this.StartTime = rhs.StartTime;
this.EndTime = rhs.EndTime;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public ProductModifyRecordContentLogicDto(Model.ProductModifyRecord rhs, int fileCount) : this(rhs)
{
this.FileCount = fileCount;
}
///
///
///
public ProductModifyRecordContentLogicDto(Model.ProductModifyRecord rhs, Func getFileCount) : this(rhs)
{
if (getFileCount != null)
{
this.FileCount = getFileCount();
}
}
///
/// id
///
public long ID { get; set; }
///
/// 客户id
///
public long CorpID { get; set; }
///
/// 设备id
///
public long ProductID { get; set; }
///
/// 标题
///
public string Caption { get; set; }
///
/// 变更类型
///
public string ModifyType { get; set; }
///
/// 开始时间
///
public DateTime StartTime { get; set; }
///
/// 结束时间
///
public DateTime EndTime { get; set; }
///
/// 使用状态
///
public eUseStatus UseStatus { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 附件数量
///
public int FileCount { get; set; }
}
}