using Chuanyin.Attribute; using CoreCms.Net.Model.Entities.baseModel; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace CoreCms.Net.Model.Entities.baifenbingfa.jon { /// /// 个人简历 /// //[SqlCodeFirst] public partial class Job_ApplicantProfile : BFBaseModel { /// /// 主键ID,自增长 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")] public int id { get; set; } /// /// 应聘的岗位。 /// public int jobId { get; set; } /// /// 应聘的岗位名称。 /// [SugarColumn(IsIgnore = true)] public string jobName { get; set; } /// /// 应聘者期望的最低薪资要求。 /// public decimal minSalaryRequirement { get; set; } /// /// 应聘者的全名。 /// public string? name { get; set; } /// /// 应聘者的性别。 /// public string? gender { get; set; } /// /// 应聘者的身高(单位:厘米)。 /// public int height { get; set; } /// /// 应聘者的体重(单位:千克)。 /// public double weight { get; set; } /// /// 应聘者的出生日期。 /// public DateTime? dateOfBirth { get; set; } /// /// 应聘者的出生日期。 /// [SugarColumn(IsIgnore = true)] public string dateOfBirthName { get; set; } /// /// 应聘者的出生日期。 /// [SugarColumn(IsIgnore = true)] public string dateOfBirthNameCeshi { get; set; } /// /// 应聘者的毕业学校名称。 /// [SugarColumn(IsNullable =true)] public string? graduatingSchool { get; set; } /// /// 应聘者的最高学历。 /// public string? educationLevel { get; set; } /// /// 应聘者的专业名称。 /// [SugarColumn(IsNullable =true)] public string? major { get; set; } /// /// 是否吸烟。 /// public string? smokes { get; set; } /// /// 驾驶技术等级(如新手、熟练、专业)。 /// public string drivingSkill { get; set; } /// /// 应聘者的联系电话。 /// public string phoneNumber { get; set; } /// /// 白酒酒量(例如,毫升或杯数)。 /// [SugarColumn(IsNullable = true)] public string? whiteWineCapacity { get; set; } /// /// 应聘者的政治面貌。 /// public string politicalAffiliation { get; set; } /// /// 婚恋状况(例如,单身、已婚、离异等)。 /// public string maritalStatus { get; set; } /// /// 专长能力。 /// public string specialAbilities { get; set; } /// /// 应聘者的电子邮件地址。 /// [SugarColumn(IsNullable = true)] public string? email { get; set; } /// /// 生育情况(例如,无子女、有子女等)。 /// public string parentalStatus { get; set; } /// /// 居住地址。 /// [SugarColumn(IsNullable = true,Length =512)] public string? residentialAddress { get; set; } /// /// 审核状态。 /// public AuditStatus? AuditStatu { get; set; } = AuditStatus.Submitted; /// /// 生育情况(例如,无子女、有子女等)。 /// [SugarColumn(IsIgnore = true)] public string? createTimetxt { get; set; } /// /// 形象图片 /// [SugarColumn(IsNullable = true,Length =1024)] public string? avatar { get; set; } /// /// 证件照 用,分隔 /// [SugarColumn(IsNullable = true,ColumnDescription = "证件照 用,分隔",Length =2048)] public string iDPicture { get; set; } } /// /// 审核状态 /// public enum AuditStatus { /// /// 申请已提交,等待审核。 /// [Description("已提交")] Submitted, /// /// 申请正在审核中。 /// [Description("审核中")] UnderReview, /// /// 申请已被批准。 /// [Description("已审核")] Approved, /// /// 申请已被拒绝。 /// [Description("已拒绝")] Rejected, /// /// 申请需要更多资料或信息。 /// [Description("更多资料")] Incomplete, /// /// 申请已撤回或取消。 /// [Description("已撤回")] Withdrawn, /// /// 申请处于其他未定义的状态。 /// [Description("其他")] Other } /// /// 工作经历 /// //[SqlCodeFirst] public partial class Job_EmploymentRecord { /// /// 主键ID,自增长 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")] public int id { get; set; } /// /// 工作开始日期。 /// public DateTime? startDate { get; set; } /// /// 工作结束日期,如果是当前工作,则为空或表示至今的日期。 /// public DateTime? endDate { get; set; } /// /// 工作结束日期,如果是当前工作,则为空或表示至今的日期。 /// [SugarColumn(IsIgnore = true)] public string startDatetxt { get; set; } /// /// 工作单位的名称。 /// [SugarColumn(IsNullable = true)] public string? workplace { get; set; } /// /// 在该单位担任的职务或职位。 /// [SugarColumn(Length =512, IsNullable = true)] public string? position { get; set; } /// /// 每月的工资或薪水。 /// [SugarColumn(IsNullable = true)] public decimal? monthlySalary { get; set; } /// /// 离职的原因。 /// [SugarColumn(Length = 512, IsNullable = true)] public string? reasonForLeaving { get; set; } /// /// 简历ID /// public int ApplicantProfileId { get; set; } } /// /// 家庭成员 /// //[SqlCodeFirst] public class Job_FamilyMember { /// /// 主键ID,自增长 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")] public int id { get; set; } /// /// 简历ID /// public int ApplicantProfileId { get; set; } /// /// 姓名 /// [SugarColumn(IsNullable =true)] public string? name { get; set; } /// /// 称谓 /// [SugarColumn(IsNullable = true)] public string? title { get; set; } /// /// 年龄 /// [SugarColumn(IsNullable =true)] public int? age { get; set; } /// /// 工作单位及职务 /// [SugarColumn(IsNullable = true)] public string? workUnitAndPosition { get; set; } } }