1
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_company", TableDescription = "入职业务公司")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObCompany : BaseEntity
|
||||
{
|
||||
public virtual string CompanyCode { get; set; }
|
||||
public virtual string CompanyName { get; set; }
|
||||
public virtual string LegalName { get; set; }
|
||||
public string UnifiedSocialCreditCode { get; set; }
|
||||
public string LegalRepresentative { get; set; }
|
||||
public string RegisteredAddress { get; set; }
|
||||
public string ContactPhone { get; set; }
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_contract_scope", TableDescription = "公司岗位合同适用范围")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObContractScope : BaseEntity
|
||||
{
|
||||
public long CompanyId { get; set; }
|
||||
public long? PositionId { get; set; }
|
||||
public long TemplateId { get; set; }
|
||||
public long TemplateVersionId { get; set; }
|
||||
public bool Required { get; set; }
|
||||
public int? SortCode { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_contract_template", TableDescription = "合同模板主档案")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObContractTemplate : BaseEntity
|
||||
{
|
||||
public string TemplateCode { get; set; }
|
||||
public string TemplateName { get; set; }
|
||||
public string ContractType { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_contract_template_version", TableDescription = "合同模板版本")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObContractTemplateVersion : BaseEntity
|
||||
{
|
||||
public long TemplateId { get; set; }
|
||||
public string VersionNo { get; set; }
|
||||
public long SourceDocxFileId { get; set; }
|
||||
public string FileHash { get; set; }
|
||||
public DateTime? EffectiveDate { get; set; }
|
||||
public DateTime? ExpiryDate { get; set; }
|
||||
public string VersionStatus { get; set; } = ContractTemplateVersionStatus.Draft;
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_employee", TableDescription = "正式员工档案")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObEmployee : BaseEntity
|
||||
{
|
||||
public string EmployeeNo { get; set; }
|
||||
public string InternalNo { get; set; }
|
||||
public string EmployeeName { get; set; }
|
||||
public long CompanyId { get; set; }
|
||||
public string DepartmentName { get; set; }
|
||||
public long PositionId { get; set; }
|
||||
public string Gender { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string IdCardNumber { get; set; }
|
||||
public string College { get; set; }
|
||||
public string Education { get; set; }
|
||||
public string Major { get; set; }
|
||||
public DateTime? BirthDate { get; set; }
|
||||
public string RegisteredResidence { get; set; }
|
||||
public string Nation { get; set; }
|
||||
public string ContactAddress { get; set; }
|
||||
public DateTime? EntryDate { get; set; }
|
||||
public DateTime? ContractStartDate { get; set; }
|
||||
public DateTime? ContractEndDate { get; set; }
|
||||
public DateTime? ProbationStartDate { get; set; }
|
||||
public DateTime? ProbationEndDate { get; set; }
|
||||
public DateTime? RegularizationDate { get; set; }
|
||||
public string SocialInsuranceCompany { get; set; }
|
||||
public string ContractNature { get; set; }
|
||||
public string BankCardNumber { get; set; }
|
||||
public string BankAccountName { get; set; }
|
||||
public string BankName { get; set; }
|
||||
public string Remark { get; set; }
|
||||
public string ExtraInfoJson { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_form_field", TableDescription = "动态入职填写字段")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObFormField : BaseEntity
|
||||
{
|
||||
public string FieldCode { get; set; }
|
||||
public string FieldName { get; set; }
|
||||
public string DataType { get; set; }
|
||||
public string OptionsJson { get; set; }
|
||||
public string ValidationRule { get; set; }
|
||||
public string Placeholder { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_form_requirement", TableDescription = "公司岗位动态填写项要求")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObFormRequirement : BaseEntity
|
||||
{
|
||||
public long CompanyId { get; set; }
|
||||
public long? PositionId { get; set; }
|
||||
public long FieldId { get; set; }
|
||||
public bool Required { get; set; }
|
||||
public int? SortCode { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_material_requirement", TableDescription = "公司岗位入职资料要求")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObMaterialRequirement : BaseEntity
|
||||
{
|
||||
public long CompanyId { get; set; }
|
||||
public long? PositionId { get; set; }
|
||||
public long MaterialTypeId { get; set; }
|
||||
public bool Required { get; set; }
|
||||
public int? SortCode { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_material_type", TableDescription = "入职上传资料类型")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObMaterialType : BaseEntity
|
||||
{
|
||||
public string MaterialCode { get; set; }
|
||||
public string MaterialName { get; set; }
|
||||
public string AllowedExtensions { get; set; }
|
||||
public int MaxFileCount { get; set; }
|
||||
public int? MaxFileSizeMb { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_onboarding_task", TableDescription = "新员工入职任务")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObOnboardingTask : BaseEntity
|
||||
{
|
||||
public string TaskNo { get; set; }
|
||||
public long? EmployeeId { get; set; }
|
||||
public long CompanyId { get; set; }
|
||||
public long PositionId { get; set; }
|
||||
public long? AssignedReviewerUserId { get; set; }
|
||||
public string TaskStatus { get; set; } = OnboardingTaskStatus.Draft;
|
||||
public DateTime? LinkExpireAt { get; set; }
|
||||
public int SubmitCount { get; set; }
|
||||
public DateTime? LastSubmittedAt { get; set; }
|
||||
public DateTime? AuditedAt { get; set; }
|
||||
public DateTime? ArchivedAt { get; set; }
|
||||
public string RejectReason { get; set; }
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_position", TableDescription = "入职业务岗位")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObPosition : BaseEntity
|
||||
{
|
||||
public long CompanyId { get; set; }
|
||||
public virtual string PositionCode { get; set; }
|
||||
public virtual string PositionName { get; set; }
|
||||
public decimal? DefaultContractYears { get; set; }
|
||||
public int? DefaultProbationMonths { get; set; }
|
||||
public string DefaultParamsJson { get; set; }
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_audit", TableDescription = "入职任务提交与审核记录")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskAudit : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public int AuditRound { get; set; }
|
||||
public string AuditAction { get; set; }
|
||||
public long? AuditorUserId { get; set; }
|
||||
public string AuditOpinion { get; set; }
|
||||
public string SnapshotJson { get; set; }
|
||||
public DateTime AuditedAt { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_contract", TableDescription = "入职任务合同明细")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskContract : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public long TemplateId { get; set; }
|
||||
public long TemplateVersionId { get; set; }
|
||||
public string ContractName { get; set; }
|
||||
public string ContractType { get; set; }
|
||||
public bool Required { get; set; }
|
||||
public string ContractStatus { get; set; } = TaskContractStatus.PendingGenerate;
|
||||
public long? GeneratedDocxFileId { get; set; }
|
||||
public long? GeneratedPdfFileId { get; set; }
|
||||
public DateTime? GeneratedAt { get; set; }
|
||||
public DateTime? ReadAt { get; set; }
|
||||
public DateTime? ConfirmedAt { get; set; }
|
||||
public DateTime? OfflineSignedAt { get; set; }
|
||||
public DateTime? PrintedAt { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_contract_variable", TableDescription = "任务合同变量最终值快照")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskContractVariable : BaseEntity
|
||||
{
|
||||
public long TaskContractId { 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 string SourceType { get; set; }
|
||||
public bool IsManualOverride { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_employee_info", TableDescription = "候选人提交的固定基础信息")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskEmployeeInfo : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public string EmployeeNo { get; set; }
|
||||
public string InternalNo { get; set; }
|
||||
public string EmployeeName { get; set; }
|
||||
public string DepartmentName { get; set; }
|
||||
public string Gender { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string IdCardNumber { get; set; }
|
||||
public string College { get; set; }
|
||||
public string Education { get; set; }
|
||||
public string Major { get; set; }
|
||||
public DateTime? BirthDate { get; set; }
|
||||
public string RegisteredResidence { get; set; }
|
||||
public string Nation { get; set; }
|
||||
public string ContactAddress { get; set; }
|
||||
public DateTime? EntryDate { get; set; }
|
||||
public DateTime? ContractStartDate { get; set; }
|
||||
public DateTime? ContractEndDate { get; set; }
|
||||
public DateTime? ProbationStartDate { get; set; }
|
||||
public DateTime? ProbationEndDate { get; set; }
|
||||
public DateTime? RegularizationDate { get; set; }
|
||||
public string SocialInsuranceCompany { get; set; }
|
||||
public string ContractNature { get; set; }
|
||||
public string BankCardNumber { get; set; }
|
||||
public string BankAccountName { get; set; }
|
||||
public string BankName { get; set; }
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_form_value", TableDescription = "候选人动态填写信息")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskFormValue : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public long FieldId { get; set; }
|
||||
public string FieldCode { get; set; }
|
||||
public string FieldName { get; set; }
|
||||
public string FieldValue { get; set; }
|
||||
public int SubmitRound { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_link", TableDescription = "新员工专属填写链接")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskLink : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public string TokenHash { get; set; }
|
||||
public string LinkStatus { get; set; } = OnboardingLinkStatus.Active;
|
||||
public DateTime ExpiresAt { get; set; }
|
||||
public DateTime? LastAccessedAt { get; set; }
|
||||
public int AccessCount { get; set; }
|
||||
public DateTime? RevokedAt { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_material", TableDescription = "候选人上传资料")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskMaterial : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public long MaterialTypeId { get; set; }
|
||||
public string MaterialName { get; set; }
|
||||
public long FileId { get; set; }
|
||||
public int SubmitRound { get; set; }
|
||||
public DateTime UploadedAt { get; set; }
|
||||
public string ReviewStatus { get; set; } = TaskMaterialReviewStatus.Pending;
|
||||
public string ReviewRemark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_task_operation_log", TableDescription = "入职任务操作日志")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTaskOperationLog : BaseEntity
|
||||
{
|
||||
public long TaskId { get; set; }
|
||||
public string OperatorType { get; set; }
|
||||
public long? OperatorUserId { get; set; }
|
||||
public string OperationType { get; set; }
|
||||
public string OperationContent { get; set; }
|
||||
public string ChangeDataJson { get; set; }
|
||||
public string IpAddress { get; set; }
|
||||
public DateTime OperatedAt { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
[SugarTable("ob_template_variable", TableDescription = "合同模板变量定义")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
public class ObTemplateVariable : BaseEntity
|
||||
{
|
||||
public long TemplateVersionId { get; set; }
|
||||
public string VariableCode { get; set; }
|
||||
public string VariableName { get; set; }
|
||||
public string VariableType { get; set; }
|
||||
public string DataType { get; set; }
|
||||
public string EmployeeField { get; set; }
|
||||
public string DefaultValue { get; set; }
|
||||
public string OptionsJson { get; set; }
|
||||
public string FormatRule { get; set; }
|
||||
public bool Required { get; set; }
|
||||
public bool HrEditable { get; set; }
|
||||
public int? SortCode { get; set; }
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
/// <summary>
|
||||
/// 入职任务状态。
|
||||
/// </summary>
|
||||
public static class OnboardingTaskStatus
|
||||
{
|
||||
public const string Draft = "draft";
|
||||
public const string PendingFill = "pending_fill";
|
||||
public const string Reviewing = "reviewing";
|
||||
public const string Rejected = "rejected";
|
||||
public const string Approved = "approved";
|
||||
public const string Archived = "archived";
|
||||
public const string Expired = "expired";
|
||||
public const string Revoked = "revoked";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 入职链接状态。
|
||||
/// </summary>
|
||||
public static class OnboardingLinkStatus
|
||||
{
|
||||
public const string Active = "active";
|
||||
public const string Expired = "expired";
|
||||
public const string Revoked = "revoked";
|
||||
public const string Replaced = "replaced";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 合同模板版本状态。
|
||||
/// </summary>
|
||||
public static class ContractTemplateVersionStatus
|
||||
{
|
||||
public const string Draft = "draft";
|
||||
public const string Enabled = "enabled";
|
||||
public const string Disabled = "disabled";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 入职任务合同状态。
|
||||
/// </summary>
|
||||
public static class TaskContractStatus
|
||||
{
|
||||
public const string PendingGenerate = "pending_generate";
|
||||
public const string PendingConfirm = "pending_confirm";
|
||||
public const string Confirmed = "confirmed";
|
||||
public const string OfflinePendingSign = "offline_pending_sign";
|
||||
public const string Archived = "archived";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 合同变量类型。
|
||||
/// </summary>
|
||||
public static class ContractVariableType
|
||||
{
|
||||
public const string Employee = "employee";
|
||||
public const string Company = "company";
|
||||
public const string Contract = "contract";
|
||||
public const string System = "system";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 合同变量最终值来源。
|
||||
/// </summary>
|
||||
public static class ContractVariableSourceType
|
||||
{
|
||||
public const string Employee = "employee";
|
||||
public const string Company = "company";
|
||||
public const string HrInput = "hr_input";
|
||||
public const string System = "system";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 入职资料审核状态。
|
||||
/// </summary>
|
||||
public static class TaskMaterialReviewStatus
|
||||
{
|
||||
public const string Pending = "pending";
|
||||
public const string Passed = "passed";
|
||||
public const string NeedSupplement = "need_supplement";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 入职审核动作。
|
||||
/// </summary>
|
||||
public static class OnboardingAuditAction
|
||||
{
|
||||
public const string Submit = "submit";
|
||||
public const string Approve = "approve";
|
||||
public const string Reject = "reject";
|
||||
public const string Revoke = "revoke";
|
||||
public const string Archive = "archive";
|
||||
}
|
||||
Reference in New Issue
Block a user