namespace SimpleAdmin.Application; public class OnboardingFormFieldSaveInput { public long? Id { get; set; } [global::System.ComponentModel.DataAnnotations.Required(ErrorMessage = "字段编码不能为空")] public string FieldCode { get; set; } [global::System.ComponentModel.DataAnnotations.Required(ErrorMessage = "字段名称不能为空")] public string FieldName { get; set; } [global::System.ComponentModel.DataAnnotations.Required(ErrorMessage = "数据类型不能为空")] public string DataType { get; set; } public string OptionsJson { get; set; } public string ValidationRule { get; set; } public string Placeholder { get; set; } public string Status { get; set; } = "enable"; } public class OnboardingMaterialTypeSaveInput { public long? Id { get; set; } [global::System.ComponentModel.DataAnnotations.Required(ErrorMessage = "资料编码不能为空")] public string MaterialCode { get; set; } [global::System.ComponentModel.DataAnnotations.Required(ErrorMessage = "资料名称不能为空")] public string MaterialName { get; set; } public string AllowedExtensions { get; set; } public int MaxFileCount { get; set; } = 1; public int? MaxFileSizeMb { get; set; } public string Status { get; set; } = "enable"; } public class OnboardingFormRequirementSaveInput { public long? Id { get; set; } [IdNotNull(ErrorMessage = "公司Id不能为空")] public long CompanyId { get; set; } public long? PositionId { get; set; } [IdNotNull(ErrorMessage = "字段Id不能为空")] public long FieldId { get; set; } public bool Required { get; set; } public int? SortCode { get; set; } } public class OnboardingMaterialRequirementSaveInput { public long? Id { get; set; } [IdNotNull(ErrorMessage = "公司Id不能为空")] public long CompanyId { get; set; } public long? PositionId { get; set; } [IdNotNull(ErrorMessage = "资料类型Id不能为空")] public long MaterialTypeId { get; set; } public bool Required { get; set; } public int? SortCode { get; set; } }