From 71e821ab5e6b3014fac9b691d6957bcc09704b70 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期三, 29 五月 2024 11:45:04 +0800 Subject: [PATCH] 修改定制封面逻辑 --- CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs | 104 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 82 insertions(+), 22 deletions(-) diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs index 5312962..29d7e29 100644 --- a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs +++ b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs @@ -3,7 +3,10 @@ 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; @@ -13,7 +16,7 @@ /// <summary> /// 涓汉绠�鍘� /// </summary> - [SqlCodeFirst] + //[SqlCodeFirst] public partial class Job_ApplicantProfile : BFBaseModel { /// <summary> @@ -27,6 +30,12 @@ public int jobId { get; set; } /// <summary> + /// 搴旇仒鐨勫矖浣嶅悕绉般�� + /// </summary> + [SugarColumn(IsIgnore = true)] + public string jobName { get; set; } + + /// <summary> /// 搴旇仒鑰呮湡鏈涚殑鏈�浣庤柂璧勮姹傘�� /// </summary> public decimal minSalaryRequirement { get; set; } @@ -34,12 +43,12 @@ /// <summary> /// 搴旇仒鑰呯殑鍏ㄥ悕銆� /// </summary> - public string name { get; set; } + public string? name { get; set; } /// <summary> /// 搴旇仒鑰呯殑鎬у埆銆� /// </summary> - public string gender { get; set; } + public string? gender { get; set; } /// <summary> /// 搴旇仒鑰呯殑韬珮锛堝崟浣嶏細鍘樼背锛夈�� @@ -54,18 +63,30 @@ /// <summary> /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆� /// </summary> - public DateTime dateOfBirth { get; set; } + public DateTime? dateOfBirth { get; set; } + + /// <summary> + /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆� + /// </summary> + [SugarColumn(IsIgnore = true)] + public string dateOfBirthName { get; set; } + + /// <summary> + /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆� + /// </summary> + [SugarColumn(IsIgnore = true)] + public string dateOfBirthNameCeshi { get; set; } /// <summary> /// 搴旇仒鑰呯殑姣曚笟瀛︽牎鍚嶇О銆� /// </summary> [SugarColumn(IsNullable =true)] - public string graduatingSchool { get; set; } + public string? graduatingSchool { get; set; } /// <summary> /// 搴旇仒鑰呯殑鏈�楂樺鍘嗐�� /// </summary> - public string educationLevel { get; set; } + public string? educationLevel { get; set; } /// <summary> /// 搴旇仒鑰呯殑涓撲笟鍚嶇О銆� @@ -76,7 +97,7 @@ /// <summary> /// 鏄惁鍚哥儫銆� /// </summary> - public string smokes { get; set; } + public string? smokes { get; set; } /// <summary> /// 椹鹃┒鎶�鏈瓑绾э紙濡傛柊鎵嬨�佺啛缁冦�佷笓涓氾級銆� @@ -129,6 +150,25 @@ /// 瀹℃牳鐘舵�併�� /// </summary> public AuditStatus? AuditStatu { get; set; } = AuditStatus.Submitted; + + + + /// <summary> + /// 鐢熻偛鎯呭喌锛堜緥濡傦紝鏃犲瓙濂炽�佹湁瀛愬コ绛夛級銆� + /// </summary> + [SugarColumn(IsIgnore = true)] + public string? createTimetxt { get; set; } + /// <summary> + /// 褰㈣薄鍥剧墖 + /// </summary> + [SugarColumn(IsNullable = true,Length =1024)] + public string? avatar { get; set; } + + /// <summary> + /// 璇佷欢鐓� 鐢�,鍒嗛殧 + /// </summary> + [SugarColumn(IsNullable = true,ColumnDescription = "璇佷欢鐓� 鐢�,鍒嗛殧",Length =2048)] + public string iDPicture { get; set; } } /// <summary> @@ -139,44 +179,50 @@ /// <summary> /// 鐢宠宸叉彁浜わ紝绛夊緟瀹℃牳銆� /// </summary> - + [Description("宸叉彁浜�")] Submitted, /// <summary> /// 鐢宠姝e湪瀹℃牳涓�� /// </summary> + [Description("瀹℃牳涓�")] UnderReview, /// <summary> /// 鐢宠宸茶鎵瑰噯銆� /// </summary> + [Description("宸插鏍�")] Approved, /// <summary> /// 鐢宠宸茶鎷掔粷銆� /// </summary> + [Description("宸叉嫆缁�")] Rejected, /// <summary> /// 鐢宠闇�瑕佹洿澶氳祫鏂欐垨淇℃伅銆� /// </summary> + [Description("鏇村璧勬枡")] Incomplete, /// <summary> /// 鐢宠宸叉挙鍥炴垨鍙栨秷銆� /// </summary> + [Description("宸叉挙鍥�")] Withdrawn, /// <summary> /// 鐢宠澶勪簬鍏朵粬鏈畾涔夌殑鐘舵�併�� /// </summary> + [Description("鍏朵粬")] Other } /// <summary> /// 宸ヤ綔缁忓巻 /// </summary> - [SqlCodeFirst] - public class Job_EmploymentRecord + //[SqlCodeFirst] + public partial class Job_EmploymentRecord { /// <summary> /// 涓婚敭ID锛岃嚜澧為暱 @@ -186,7 +232,7 @@ /// <summary> /// 宸ヤ綔寮�濮嬫棩鏈熴�� /// </summary> - public DateTime startDate { get; set; } + public DateTime? startDate { get; set; } /// <summary> /// 宸ヤ綔缁撴潫鏃ユ湡锛屽鏋滄槸褰撳墠宸ヤ綔锛屽垯涓虹┖鎴栬〃绀鸿嚦浠婄殑鏃ユ湡銆� @@ -194,26 +240,36 @@ public DateTime? endDate { get; set; } /// <summary> + /// 宸ヤ綔缁撴潫鏃ユ湡锛屽鏋滄槸褰撳墠宸ヤ綔锛屽垯涓虹┖鎴栬〃绀鸿嚦浠婄殑鏃ユ湡銆� + /// </summary> + + [SugarColumn(IsIgnore = true)] + public string startDatetxt { get; set; } + + /// <summary> /// 宸ヤ綔鍗曚綅鐨勫悕绉般�� /// </summary> - public string workplace { get; set; } + [SugarColumn(IsNullable = true)] + public string? workplace { get; set; } /// <summary> /// 鍦ㄨ鍗曚綅鎷呬换鐨勮亴鍔℃垨鑱屼綅銆� /// </summary> - [SugarColumn(Length =512)] - public string position { get; set; } + [SugarColumn(Length =512, IsNullable = true)] + public string? position { get; set; } /// <summary> /// 姣忔湀鐨勫伐璧勬垨钖按銆� /// </summary> - public decimal monthlySalary { get; set; } + [SugarColumn(IsNullable = true)] + public decimal? monthlySalary { get; set; } /// <summary> /// 绂昏亴鐨勫師鍥犮�� /// </summary> - [SugarColumn(Length = 512)] - public string reasonForLeaving { get; set; } + [SugarColumn(Length = 512, IsNullable = true)] + + public string? reasonForLeaving { get; set; } /// <summary> @@ -224,7 +280,7 @@ /// <summary> /// 瀹跺涵鎴愬憳 /// </summary> - [SqlCodeFirst] + //[SqlCodeFirst] public class Job_FamilyMember { /// <summary> @@ -239,22 +295,26 @@ /// <summary> /// 濮撳悕 /// </summary> - public string name { get; set; } + [SugarColumn(IsNullable =true)] + public string? name { get; set; } /// <summary> /// 绉拌皳 /// </summary> - public string title { get; set; } + [SugarColumn(IsNullable = true)] + public string? title { get; set; } /// <summary> /// 骞撮緞 /// </summary> - public int age { get; set; } + [SugarColumn(IsNullable =true)] + public int? age { get; set; } /// <summary> /// 宸ヤ綔鍗曚綅鍙婅亴鍔� /// </summary> - public string workUnitAndPosition { get; set; } + [SugarColumn(IsNullable = true)] + public string? workUnitAndPosition { get; set; } } } -- Gitblit v1.9.1