using Datory; using Datory.Annotations; namespace GxPress.Entity.WorkProcess { /// /// 流程表单字段 /// [DataTable("tede_process_field")] public class ProcessField : Datory.Entity { /// /// 流程id /// [DataColumn] public int ProcessId { get; set; } /// /// 字段显示名称 /// [DataColumn] public string Label { get; set; } /// /// 字段类型 /// ProcessFieldType /// [DataColumn] public string Type { get; set; } /// /// 输入提示 /// [DataColumn] public string Placeholder { get; set; } /// /// 单位 /// [DataColumn] public string Unit { get; set; } /// /// 是否必填(只有必填项才可以作为审批条件) /// [DataColumn] public bool Required { get; set; } /// /// 排序 /// [DataColumn] public int Sort { get; set; } /// /// 选项 /// [DataColumn] public string Options { get; set; } } }