namespace SimpleAdmin.Application; /// /// 入职模板分页查询参数。 /// public class OnboardingTemplatePageInput : BasePageInput { /// /// 模板编码或名称关键词。 /// public string Keyword { get; set; } /// /// 所属公司 Id。 /// public long? CompanyId { get; set; } /// /// 适用岗位 Id。 /// public long? PositionId { get; set; } /// /// 启用状态。 /// public string Status { get; set; } } /// /// 保存入职模板参数。 /// public class OnboardingTemplateSaveInput { /// /// 编辑时传入的入职模板 Id。 /// public long? Id { get; set; } /// /// 入职模板业务编码。 /// public string TemplateCode { get; set; } /// /// 入职模板名称。 /// public string TemplateName { get; set; } /// /// 所属公司 Id。 /// public long CompanyId { get; set; } /// /// 适用岗位 Id 列表。 /// public List PositionIds { get; set; } = new(); /// /// 合同配置列表。 /// public List Contracts { get; set; } = new(); /// /// 动态补充字段列表。 /// public List FormFields { get; set; } = new(); /// /// 上传材料列表。 /// public List Materials { get; set; } = new(); /// /// 模板状态。 /// public string Status { get; set; } = "enable"; /// /// 模板说明。 /// public string Description { get; set; } } /// /// 入职模板合同配置参数。 /// public class OnboardingTemplateContractInput { /// /// 合同模板 Id。 /// public long ContractTemplateId { get; set; } /// /// 合同模板版本 Id。 /// public long ContractTemplateVersionId { get; set; } /// /// 是否必须查看确认。 /// public bool Required { get; set; } = true; /// /// 打印份数。 /// public int PrintCopies { get; set; } = 1; /// /// 排序码。 /// public int? SortCode { get; set; } } /// /// 入职模板补充字段参数。 /// public class OnboardingTemplateFormFieldInput { /// /// 动态字段 Id。 /// public long FieldId { get; set; } /// /// 是否必填。 /// public bool Required { get; set; } = true; /// /// 排序码。 /// public int? SortCode { get; set; } } /// /// 入职模板上传材料参数。 /// public class OnboardingTemplateMaterialInput { /// /// 材料类型 Id。 /// public long MaterialTypeId { get; set; } /// /// 是否必传。 /// public bool Required { get; set; } = true; /// /// 排序码。 /// public int? SortCode { get; set; } } /// /// 入职模板列表输出。 /// public class OnboardingTemplateOutput : ObOnboardingTemplate { /// /// 所属公司名称。 /// public string CompanyName { get; set; } /// /// 适用岗位 Id 列表。 /// public List PositionIds { get; set; } = new(); /// /// 适用岗位名称列表。 /// public List PositionNames { get; set; } = new(); /// /// 合同配置数量。 /// public int ContractCount { get; set; } /// /// 动态补充字段数量。 /// public int FormFieldCount { get; set; } /// /// 上传材料数量。 /// public int MaterialCount { get; set; } } /// /// 入职模板详情输出。 /// public class OnboardingTemplateDetailOutput : OnboardingTemplateOutput { /// /// 合同配置明细。 /// public List Contracts { get; set; } = new(); /// /// 动态补充字段配置明细。 /// public List FormFields { get; set; } = new(); /// /// 上传材料配置明细。 /// public List Materials { get; set; } = new(); }