using System.ComponentModel; using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Flow.Entity; /// /// 工作流模板-租户 /// [SqlSugar.SugarTable("sys_flow_template_tenant")] public class FlowTemplateTenant : BaseTenantModel { /// /// 模板名称 /// public string Name { get; set; } /// /// 模块Id /// public long PermissionId { get; set; } /// ///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源 /// [Description("中文视图名;设计方案时,提供中文字段的视图来源")] public string ColumnView { get; set; } /// /// 流程内容 /// [SugarColumn(ColumnDescription = "内容", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)] public string Content { get; set; } /// /// 排序 /// [SugarColumn(ColumnDescription = "排序")] public int? OrderNo { get; set; } = 100; /// /// 状态 /// [SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 执行人变更回调地址 /// [SugarColumn(ColumnDescription = "执行人变更回调地址", IsNullable = true, Length = 255)] public string? MarkerNotifyURL { get; set; } /// /// 回调地址 /// [SugarColumn(ColumnDescription = "回调地址", IsNullable = true, Length = 255)] public string? CallbackURL { get; set; } /// /// 审批类型 /// [SugarColumn(ColumnDescription = "审批类型", IsNullable = true, Length = 50)] public AuditType? AuditType { get; set; } }