From 516bb40b43811dec0e0b266b211945883314b3a1 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期五, 17 五月 2024 16:10:42 +0800 Subject: [PATCH] no message --- CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs | 57 ++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 19 deletions(-) diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs index e170608..2d411d8 100644 --- a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs +++ b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.ComponentModel; +using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; using System.Text; @@ -42,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> /// 搴旇仒鑰呯殑韬珮锛堝崟浣嶏細鍘樼背锛夈�� @@ -62,7 +63,7 @@ /// <summary> /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆� /// </summary> - public DateTime dateOfBirth { get; set; } + public DateTime? dateOfBirth { get; set; } /// <summary> /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆� @@ -80,12 +81,12 @@ /// 搴旇仒鑰呯殑姣曚笟瀛︽牎鍚嶇О銆� /// </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> /// 搴旇仒鑰呯殑涓撲笟鍚嶇О銆� @@ -96,7 +97,7 @@ /// <summary> /// 鏄惁鍚哥儫銆� /// </summary> - public string smokes { get; set; } + public string? smokes { get; set; } /// <summary> /// 椹鹃┒鎶�鏈瓑绾э紙濡傛柊鎵嬨�佺啛缁冦�佷笓涓氾級銆� @@ -156,7 +157,18 @@ /// 鐢熻偛鎯呭喌锛堜緥濡傦紝鏃犲瓙濂炽�佹湁瀛愬コ绛夛級銆� /// </summary> [SugarColumn(IsIgnore = true)] - public string createTimetxt { get; set; } + 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> @@ -210,7 +222,7 @@ /// 宸ヤ綔缁忓巻 /// </summary> [SqlCodeFirst] - public class Job_EmploymentRecord + public partial class Job_EmploymentRecord { /// <summary> /// 涓婚敭ID锛岃嚜澧為暱 @@ -220,7 +232,7 @@ /// <summary> /// 宸ヤ綔寮�濮嬫棩鏈熴�� /// </summary> - public DateTime startDate { get; set; } + public DateTime? startDate { get; set; } /// <summary> /// 宸ヤ綔缁撴潫鏃ユ湡锛屽鏋滄槸褰撳墠宸ヤ綔锛屽垯涓虹┖鎴栬〃绀鸿嚦浠婄殑鏃ユ湡銆� @@ -237,24 +249,27 @@ /// <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> @@ -280,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