namespace SimpleAdmin.Application; public class OnboardingTaskContractVariableQueryInput { [IdNotNull(ErrorMessage = "入职任务Id不能为空")] public long TaskId { get; set; } } public class OnboardingTaskContractVariableSaveInput { [IdNotNull(ErrorMessage = "任务合同Id不能为空")] public long TaskContractId { get; set; } [global::System.ComponentModel.DataAnnotations.Required(ErrorMessage = "变量不能为空")] public List Values { get; set; } = new List(); } public class OnboardingTaskContractVariableValueInput { [IdNotNull(ErrorMessage = "变量Id不能为空")] public long Id { get; set; } public string VariableValue { get; set; } } public class OnboardingTaskContractVariableOutput { public long TaskContractId { get; set; } public string ContractName { get; set; } public string ContractType { get; set; } public List Variables { get; set; } = new List(); } public class OnboardingTaskContractVariableItemOutput { public long Id { get; set; } public string VariableCode { get; set; } public string VariableName { get; set; } public string VariableType { get; set; } public string DataType { get; set; } public string VariableValue { get; set; } public bool Required { get; set; } public bool HrEditable { get; set; } public bool Editable { get; set; } }