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.

65 lines
1.8 KiB
C#

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