You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.4 KiB
C#
73 lines
2.4 KiB
C#
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Op.Entity.TaskInteraction
|
|
{
|
|
/// <summary>
|
|
/// 任务邮件发送配置
|
|
/// </summary>
|
|
[SugarTable("business_task_mail", "任务邮件发送配置")]
|
|
public class BusinessTaskMail : BaseOrgModelV2<long>
|
|
{
|
|
///// <summary>
|
|
///// 任务类型
|
|
///// </summary>
|
|
//[SugarColumn(ColumnDescription = "任务类型", IsNullable = false)]
|
|
//public TaskBaseTypeEnum TaskType { get; set; }
|
|
|
|
///// <summary>
|
|
///// 任务状态
|
|
///// </summary>
|
|
//[SugarColumn(ColumnDescription = "任务状态", IsNullable = false)]
|
|
//public TaskStatusEnum TaskStatus { get; set; } = TaskStatusEnum.Complete;
|
|
|
|
/// <summary>
|
|
/// 配置名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "配置名称", Length = 100, IsNullable = false)]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 主题
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "主题", Length = 200, IsNullable = false)]
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 内容
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "内容", ColumnDataType = "text", IsNullable = false)]
|
|
public string Content { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 客户名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "客户名称", Length = 200, IsNullable = true)]
|
|
public string? CustomerName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务器设置ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "服务器设置ID", IsNullable = false)]
|
|
public long ServerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接收人设置
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToOne, nameof(Id))]
|
|
public BusinessTaskMailReceiver? Receiver { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发送人设置
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToOne, nameof(Id))]
|
|
public BusinessTaskMailSender? Sender { get; set; }
|
|
|
|
/// <summary>
|
|
/// 附件设置
|
|
/// </summary>
|
|
[Navigate(NavigateType.OneToMany, nameof(BusinessTaskAttachment.TaskMailId))]
|
|
public List<BusinessTaskAttachment>? Attachments { get; set; }
|
|
}
|
|
}
|