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