identificationOfCultivatedL.../OpenAuth.Repository/Domain/workflow/FlowTemplate.cs

19 lines
612 B
C#
Raw Normal View History

2026-02-04 21:43:24 +08:00
using SqlSugar;
namespace OpenAuth.Repository.Domain.workflow;
[SugarTable("flow_template")]
public class FlowTemplate
{
[SugarColumn(ColumnName = "template_id", IsPrimaryKey = true, IsIdentity = true)]
public long TemplateId { get; set; }
[SugarColumn(ColumnName = "flow_code", IsNullable = false)]
public string FlowCode { get; set; } = string.Empty;
[SugarColumn(ColumnName = "flow_name", IsNullable = false)]
public string FlowName { get; set; } = string.Empty;
[SugarColumn(ColumnName = "is_enabled", IsNullable = false)]
public bool IsEnabled { get; set; } = true;
}