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.

57 lines
1.3 KiB
C#

using SqlSugar;
namespace DS.WMS.Core.Op.Entity.TaskInteraction
{
/// <summary>
/// 任务邮件附件配置
/// </summary>
[SugarTable("business_task_attachment", "任务邮件附件配置")]
public class BusinessTaskAttachment
{
/// <summary>
/// 任务邮件配置ID
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public long TaskMailId { get; set; }
/// <summary>
/// 打印模板ID
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public long? TemplateId { get; set; }
/// <summary>
/// 附件文件名
/// </summary>
[SugarColumn(ColumnDescription = "附件文件名", Length = 100, IsNullable = true)]
public string? FileName { get; set; }
/// <summary>
/// 文件类型
/// </summary>
[SugarColumn(ColumnDescription = "文件类型", IsNullable = true)]
public FileFormat? FileType { get; set; }
}
/// <summary>
/// 文件格式
/// </summary>
public enum FileFormat
{
/// <summary>
/// PDF
/// </summary>
PDF = 1,
/// <summary>
/// Excel
/// </summary>
Xlsx = 2,
/// <summary>
/// Word
/// </summary>
Docx = 3
}
}