导表测试
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using IRaCIS.Core.Infrastructure.Extention;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using Magicodes.ExporterAndImporter.Core;
|
||||
using MiniExcelLibs.Attributes;
|
||||
|
||||
namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
@@ -37,17 +38,24 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public class TrialMaintenanceDTO : UserTrialCommand
|
||||
{
|
||||
[ValueMapping(text: "退出", true)]
|
||||
[ValueMapping(text: "加入", false)]
|
||||
//[ValueMapping(text: "退出", true)]
|
||||
//[ValueMapping(text: "加入", false)]
|
||||
[ExcelFormat("yyyy-mm-dd hh:mm:ss")]
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
[ExporterHeader(Format = "yyyy-mm-dd hh:mm:ss")]
|
||||
public string State => IsDeleted ? "退出" : "加入";
|
||||
|
||||
//[ExporterHeader(Format = "yyyy-mm-dd hh:mm:ss")]
|
||||
[ExcelFormat("yyyy-mm-dd hh:mm:ss")]
|
||||
public DateTime? DeletedTime { get; set; }
|
||||
|
||||
[ExcelFormat("yyyy-mm-dd")]
|
||||
public DateTime? RemoveTime { get; set; }
|
||||
|
||||
[ExcelFormat("yyyy-mm-dd ")]
|
||||
public DateTime? JoinTime { get; set; }
|
||||
|
||||
[ExcelFormat("yyyy-mm-dd hh:mm:ss")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
public string Phone { get; set; } = String.Empty;
|
||||
|
||||
@@ -70,10 +78,9 @@ namespace IRaCIS.Application.Contracts
|
||||
}
|
||||
|
||||
|
||||
public class TrialUserExportDTO
|
||||
public class TrialUserExportDTO: TrialSelectDTO
|
||||
{
|
||||
public DateTime CurrentTime { get; set; } = DateTime.Now;
|
||||
public TrialSelectDTO TrialInfo { get; set; }
|
||||
|
||||
public List<TrialMaintenanceDTO> TrialUserList { get; set; } = new List<TrialMaintenanceDTO>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user