using System; using System.Collections.Generic; using Abp.AutoMapper; using Abp.Application.Services.Dto; using AutoMapper.Configuration.Annotations; using ContractService.CommonManager.AttachFiles; namespace ContractService.LegalContract.KeyPoint.Dto { /// /// 合同关键点 /// [AutoMapTo(typeof(LegalContractKeyPointInfo)),AutoMapFrom(typeof(LegalContractKeyPointInfo))] public class LegalContractKeyPointDto: EntityDto { /// /// 父关键点 /// public string ParentNo { get; set; } /// /// 关键点名称 /// public string Name { get; set; } /// /// 标签 /// public string Tags { get; set; } /// /// 关键点描述 /// public string Description { get; set; } /// /// 关键点等级 /// public int KeyPointLevel { get; set; } /// /// 关键点状态 /// public int KeyPointState { get; set; } /// /// 过期日期 /// public DateTime? ExpireDate { get; set; } /// /// 开始报警日期 /// public DateTime? AlarmDate { get; set; } public DateTime? ExecuteDate { get; set; } /// /// 父关键点执行后多少天过期 /// public int ExpireDay { get; set; } /// /// 父关键点执行后多少天报警 /// public int AlarmDay { get; set; } /// /// 路径 /// public string KeyPointPath { get; set; } /// /// 合同信息 /// public string ContractNo { get; set; } [Ignore] public string StaffNo { get; set; } [Ignore] public string StaffName { get; set; } [Ignore] public string StaffOrgName { get; set; } } public class KeyPointOrgDto : EntityDto { public string StaffNo { get; set; } public string StaffOrgName { get; set; } } [AutoMap(typeof(LegalContractSupplementInfo))] public class KpSupplementDto : EntityDto { public string Code { get; set; } public string Name { get; set; } public string ContractNo { get; set; } public string KeyPointNo { get; set; } [Ignore] public string ContractName { get; set; } /// /// 内容信息 /// public string ContentInfo { get; set; } public DateTime? CreationTime { get; set; } [Ignore] public List AttachFiles { get; set; } } }