//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-02-15 11:55:43
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///
///EmailNoticeConfig
///
[Table("EmailNoticeConfig")]
public class EmailNoticeConfig : Entity, IAuditUpdate, IAuditAdd
{
///
/// CreateTime
///
[Required]
public DateTime CreateTime { get; set; }
///
/// CreateUserId
///
[Required]
public Guid CreateUserId { get; set; }
///
/// UpdateUserId
///
[Required]
public Guid UpdateUserId { get; set; }
[Required]
public Guid ScenarioId { get; set; }
[ForeignKey("ScenarioId")]
public SystemBasicData Scenario { get; set; }
///
/// UpdateTime
///
[Required]
public DateTime UpdateTime { get; set; }
///
/// Title
///
[Required]
public string Title { get; set; } = String.Empty;
///
/// Body
///
[Required]
public string Body { get; set; } = String.Empty;
///
/// FromEmail
///
[Required]
public string FromEmail { get; set; } = String.Empty;
///
/// ReceiveEmail
///
[Required]
public string ReceiveEmail { get; set; } = String.Empty;
///
/// CopyEmail
///
[Required]
public string CopyEmail { get; set; } = String.Empty;
///
/// IsReturnRequired
///
[Required]
public bool IsReturnRequired { get; set; }
///
/// IsUrgent
///
[Required]
public bool IsUrgent { get; set; }
///
/// IsEnable
///
[Required]
public bool IsEnable { get; set; }
public string AuthorizationCode { get; set; } = String.Empty;
public string Code { get; set; } = String.Empty;
public bool IsAutoSend { get; set; }
}
}