From 851867ee53ea4a7d9f65f2b78111a69e3c4bc669 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 16 五月 2024 14:33:32 +0800
Subject: [PATCH] 完招聘信息发布,简历填写等API

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

diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
index 5312962..3b52616 100644
--- a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
+++ b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
@@ -3,6 +3,8 @@
 using SqlSugar;
 using System;
 using System.Collections.Generic;
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
@@ -34,12 +36,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 +56,18 @@
         /// <summary>
         /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆�
         /// </summary>
-        public DateTime dateOfBirth { get; set; }
+        public DateTime? dateOfBirth { 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 +78,7 @@
         /// <summary>
         /// 鏄惁鍚哥儫銆�
         /// </summary>
-        public string smokes { get; set; }
+        public string? smokes { get; set; }
 
         /// <summary>
         /// 椹鹃┒鎶�鏈瓑绾э紙濡傛柊鎵嬨�佺啛缁冦�佷笓涓氾級銆�
@@ -145,6 +147,7 @@
         /// <summary>
         /// 鐢宠姝e湪瀹℃牳涓��
         /// </summary>
+     
         UnderReview,
 
         /// <summary>
@@ -176,7 +179,7 @@
     /// 宸ヤ綔缁忓巻
     /// </summary>
     [SqlCodeFirst]
-    public class Job_EmploymentRecord
+    public partial  class  Job_EmploymentRecord
     {
         /// <summary>
         /// 涓婚敭ID锛岃嚜澧為暱
@@ -186,7 +189,7 @@
         /// <summary>
         /// 宸ヤ綔寮�濮嬫棩鏈熴��
         /// </summary>
-        public DateTime startDate { get; set; }
+        public DateTime? startDate { get; set; }
 
         /// <summary>
         /// 宸ヤ綔缁撴潫鏃ユ湡锛屽鏋滄槸褰撳墠宸ヤ綔锛屽垯涓虹┖鎴栬〃绀鸿嚦浠婄殑鏃ユ湡銆�
@@ -196,24 +199,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>
@@ -239,22 +245,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