19 lines
612 B
C#
19 lines
612 B
C#
|
|
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;
|
|||
|
|
}
|