using Magic.Core; using System.ComponentModel.DataAnnotations; namespace Magic.FlowCenter.Service; /// /// 组织机构参数 /// public class FlcFormInput : InputBase { /// /// 组织Id /// public string OrgId { get; set; } /// /// 名称 /// public virtual string Name { get; set; } /// /// 排序 /// public int? Sort { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 状态(字典 0正常 1停用 2删除) /// public CommonStatus? Status { get; set; } public string ContentData { get; set; } public string ContentParse { get; set; } public string Content { get; set; } public int? Fields { get; set; } public string WebId { get; set; } public FormType? FrmType { get; set; } } public class AddFlcFormInput : FlcFormInput { /// /// 名称 /// [Required(ErrorMessage = "表单名称不能为空")] public override string Name { get; set; } } public class DeleteFlcFormInput { /// /// 机构Id /// [Required(ErrorMessage = "表单Id不能为空")] public string Id { get; set; } } public class UpdateFlcFormInput : FlcFormInput { /// /// 机构Id /// [Required(ErrorMessage = "表单Id不能为空")] public string Id { get; set; } } public class QueryFlcFormInput : DeleteFlcFormInput { } public class PageFlcFormInput : FlcFormInput { public string Id { get; set; } }