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.

59 lines
1.6 KiB
C#

10 months ago
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")]
public class FlowTemplate : BaseModel<long>
{
/// <summary>
/// 模板名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 模块Id
/// </summary>
public long PermissionId { get; set; }
10 months ago
/// <summary>
///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源
/// </summary>
[Description("中文视图名;设计方案时,提供中文字段的视图来源")]
public string ColumnView { get; set; }
/// <summary>
/// 流程内容
/// </summary>
[SugarColumn(ColumnDescription = "内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
10 months ago
public string Content { get; set; }
/// <summary>
/// 排序
/// </summary>
[SugarColumn(ColumnDescription = "排序")]
public int? OrderNo { get; set; } = 100;
10 months ago
/// <summary>
/// 状态
/// </summary>
[SugarColumn(ColumnDescription = "状态")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
/// <summary>
/// 回调地址
/// </summary>
[SugarColumn(ColumnDescription = "回调地址", IsNullable = true, Length = 255)]
public string CallbackURL { get; set; }
/// <summary>
/// 审批类型
/// </summary>
[SugarColumn(ColumnDescription = "审批类型", IsNullable = true, Length = 50)]
public string AuditType { get; set; }
10 months ago
}