1
This commit is contained in:
@@ -1,11 +1,61 @@
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
public class OnboardingTaskPublicAccessInput { [global::System.ComponentModel.DataAnnotations.Required] public string Token { get; set; } }
|
||||
public class OnboardingTaskPublicAccessInput
|
||||
{
|
||||
[global::System.ComponentModel.DataAnnotations.Required]
|
||||
public string Token { get; set; }
|
||||
}
|
||||
|
||||
public class OnboardingPublicContractSourceInput
|
||||
{
|
||||
[global::System.ComponentModel.DataAnnotations.Required]
|
||||
public string Token { get; set; }
|
||||
|
||||
[IdNotNull(ErrorMessage = "任务合同Id不能为空")]
|
||||
public long TaskContractId { get; set; }
|
||||
}
|
||||
|
||||
public class OnboardingTaskPublicSaveInput : ObTaskEmployeeInfo
|
||||
{
|
||||
[global::System.ComponentModel.DataAnnotations.Required] public string Token { get; set; }
|
||||
[global::System.ComponentModel.DataAnnotations.Required] public new string EmployeeName { get; set; }
|
||||
[global::System.ComponentModel.DataAnnotations.Required] public new string Phone { get; set; }
|
||||
[global::System.ComponentModel.DataAnnotations.Required] public new string IdCardNumber { get; set; }
|
||||
[global::System.ComponentModel.DataAnnotations.Required]
|
||||
public string Token { get; set; }
|
||||
|
||||
[global::System.ComponentModel.DataAnnotations.Required]
|
||||
public new string EmployeeName { get; set; }
|
||||
|
||||
[global::System.ComponentModel.DataAnnotations.Required]
|
||||
public new string Phone { get; set; }
|
||||
|
||||
[global::System.ComponentModel.DataAnnotations.Required]
|
||||
public new string IdCardNumber { get; set; }
|
||||
}
|
||||
|
||||
public class OnboardingPublicFormFieldOutput
|
||||
{
|
||||
public long FieldId { get; set; }
|
||||
public string FieldCode { get; set; }
|
||||
public string FieldName { get; set; }
|
||||
public string DataType { get; set; }
|
||||
public string OptionsJson { get; set; }
|
||||
public bool Required { get; set; }
|
||||
}
|
||||
|
||||
public class OnboardingPublicMaterialOutput
|
||||
{
|
||||
public long MaterialTypeId { get; set; }
|
||||
public string MaterialName { get; set; }
|
||||
public string AllowedExtensions { get; set; }
|
||||
public int MaxFileCount { get; set; }
|
||||
public bool Required { get; set; }
|
||||
}
|
||||
|
||||
public class OnboardingTaskPublicDetailOutput
|
||||
{
|
||||
public ObOnboardingTask Task { get; set; }
|
||||
public ObTaskEmployeeInfo EmployeeInfo { get; set; }
|
||||
public List<ObTaskContract> Contracts { get; set; }
|
||||
public List<ObTaskFormValue> DynamicValues { get; set; }
|
||||
public List<OnboardingPublicFormFieldOutput> FormFields { get; set; }
|
||||
public List<OnboardingPublicMaterialOutput> MaterialRequirements { get; set; }
|
||||
public List<ObTaskMaterial> Materials { get; set; }
|
||||
}
|
||||
public class OnboardingTaskPublicDetailOutput { public ObOnboardingTask Task { get; set; } public ObTaskEmployeeInfo EmployeeInfo { get; set; } public List<ObTaskContract> Contracts { get; set; } }
|
||||
|
||||
Reference in New Issue
Block a user