From b9a99cef90a6377c309d0c0402bd68c428f4b6db Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 21 Aug 2023 15:41:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Common/DTO/EmailNoticeConfigViewModel.cs | 6 +-- .../Document/TrialEmailNoticeConfig.cs | 42 +++++++++++++++++++ 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Common/DTO/EmailNoticeConfigViewModel.cs b/IRaCIS.Core.Application/Service/Common/DTO/EmailNoticeConfigViewModel.cs index 998e7e010..a4b6e0622 100644 --- a/IRaCIS.Core.Application/Service/Common/DTO/EmailNoticeConfigViewModel.cs +++ b/IRaCIS.Core.Application/Service/Common/DTO/EmailNoticeConfigViewModel.cs @@ -108,14 +108,12 @@ namespace IRaCIS.Core.Application.Contracts public string AttachCNPath { get; set; } = string.Empty; - public string EmailHtmlContentPath { get; set; } = string.Empty; + public string EmailHtmlContent { get; set; } = string.Empty; - public string EmailHtmlContentCNPath { get; set; } = string.Empty; + public string EmailHtmlContentCN { get; set; } = string.Empty; public string AttachName { get; set; } public string AttachNameCN { get; set; } - public string EmailHtmlName { get; set; } - public string EmailHtmlNameCN { get; set; } public List ToUserTypeList { get; set; } diff --git a/IRaCIS.Core.Domain/Document/TrialEmailNoticeConfig.cs b/IRaCIS.Core.Domain/Document/TrialEmailNoticeConfig.cs index 4066d451c..996d92800 100644 --- a/IRaCIS.Core.Domain/Document/TrialEmailNoticeConfig.cs +++ b/IRaCIS.Core.Domain/Document/TrialEmailNoticeConfig.cs @@ -49,6 +49,48 @@ namespace IRaCIS.Core.Domain.Models + + /// 业务模块 /// + public int BusinessModuleEnum { get; set; } + + /// 业务层级 /// + public int BusinessLevelEnum { get; set; } + + /// 邮件类型 /// + public int EmailTypeEnum { get; set; } + + /// 邮件加急类型 /// + public int EmailUrgentEnum { get; set; } + + /// 定时周期 /// + public string EmailCron { get; set; } = string.Empty; + + /// 邮件主题 /// + public string EmailTopic { get; set; } = string.Empty; + + public string EmailTopicCN { get; set; } = string.Empty; + + /// 附件 /// + public string AttachPath { get; set; } = string.Empty; + + public string AttachCNPath { get; set; } = string.Empty; + + public string Description { get; set; } = string.Empty; + + + public string AttachName { get; set; } + public string AttachNameCN { get; set; } + + + public string EmailHtmlContent { get; set; } = string.Empty; + public string EmailHtmlContentCN { get; set; } = string.Empty; + + + + + + + [Required] public string Code { get; set; } = string.Empty;