using SqlSugar; namespace SnapshotWinFormsApp.Entities.NewHotline; /// /// 工作流业务模块 /// [SugarTable("workflow_module")] public class WorkflowModule : DataTransmission.Entity.CreationEntity { public WorkflowModule() { } public WorkflowModule(string code, string name, string remark = "") { Code = code; Name = name; Remark = remark; } /// /// WorkflowModuleConsts约定code /// public string Code { get; set; } public string Name { get; set; } public string Remark { get; set; } = string.Empty; /// /// 流程模板Id /// [SugarColumn(IsNullable = true)] public string? DefinitionId { get; set; } ///// ///// 模板名称(冗余) ///// //[SugarColumn(IsNullable = true)] //public string? DefinitionName { get; set; } ///// ///// 模板编码(冗余) ///// //[SugarColumn(IsNullable = true)] //public string? DefinitionCode { get; set; } ///// ///// 模板版本号(冗余) ///// //public int? DefinitionVersion { get; set; } }