65 lines
2.2 KiB
C#
65 lines
2.2 KiB
C#
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2022-02-15 11:55:57
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
//--------------------------------------------------------------------
|
|
using Newtonsoft.Json;
|
|
namespace IRaCIS.Core.Application.Contracts
|
|
{
|
|
/// <summary> EmailNoticeConfigView 列表视图模型 </summary>
|
|
public class EmailNoticeConfigView : EmailNoticeConfigAddOrEdit
|
|
{
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
public Guid CreateUserId { get; set; }
|
|
public Guid UpdateUserId { get; set; }
|
|
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public SystemBasicDataSelect Scenario { get; set; }
|
|
|
|
|
|
//public Guid? ScenarioParentId => Scenario.ParentId;
|
|
|
|
public string ScenarioName => Scenario.Value;
|
|
public string ScenarioNameCN => Scenario.ValueCN;
|
|
|
|
}
|
|
|
|
///<summary>EmailNoticeConfigQuery 列表查询参数模型</summary>
|
|
public class EmailNoticeConfigQuery:PageInput
|
|
{
|
|
public Guid? ScenarioId { get; set; }
|
|
|
|
public bool? IsReturnRequired { get; set; }
|
|
public bool? IsUrgent { get; set; }
|
|
public bool? IsEnable { get; set; }
|
|
|
|
}
|
|
|
|
///<summary> EmailNoticeConfigAddOrEdit 列表查询参数模型</summary>
|
|
public class EmailNoticeConfigAddOrEdit
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Code { get; set; } = String.Empty;
|
|
|
|
public string AuthorizationCode { get; set; } = String.Empty;
|
|
|
|
public Guid ScenarioId { get; set; }
|
|
public string Title { get; set; } = String.Empty;
|
|
public string Body { get; set; } = String.Empty;
|
|
public string FromEmail { get; set; } = String.Empty;
|
|
public string ReceiveEmail { get; set; } = String.Empty;
|
|
public string CopyEmail { get; set; } = String.Empty;
|
|
public bool IsReturnRequired { get; set; }
|
|
public bool IsUrgent { get; set; }
|
|
public bool IsEnable { get; set; }
|
|
public bool IsAutoSend { get; set; }
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|