From a9d26b7c151f2727c9dc06a8236f2cf45a765cda Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 17 五月 2024 08:55:13 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop

---
 CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs |   44 ++++++++++++++++++++++++++------------------
 1 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
index e170608..3359f40 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>
         /// 椹鹃┒鎶�鏈瓑绾э紙濡傛柊鎵嬨�佺啛缁冦�佷笓涓氾級銆�
@@ -210,7 +211,7 @@
     /// 宸ヤ綔缁忓巻
     /// </summary>
     [SqlCodeFirst]
-    public class Job_EmploymentRecord
+    public partial  class  Job_EmploymentRecord
     {
         /// <summary>
         /// 涓婚敭ID锛岃嚜澧為暱
@@ -220,7 +221,7 @@
         /// <summary>
         /// 宸ヤ綔寮�濮嬫棩鏈熴��
         /// </summary>
-        public DateTime startDate { get; set; }
+        public DateTime? startDate { get; set; }
 
         /// <summary>
         /// 宸ヤ綔缁撴潫鏃ユ湡锛屽鏋滄槸褰撳墠宸ヤ綔锛屽垯涓虹┖鎴栬〃绀鸿嚦浠婄殑鏃ユ湡銆�
@@ -237,24 +238,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 +284,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