From 626943b5ba84ce44bc19f4c3b8e8e94638bec733 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 09 九月 2024 14:15:59 +0800
Subject: [PATCH] 查单
---
CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs | 63 ++++++++++++++++++++-----------
1 files changed, 41 insertions(+), 22 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
index e170608..29d7e29 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;
@@ -15,7 +16,7 @@
/// <summary>
/// 涓汉绠�鍘�
/// </summary>
- [SqlCodeFirst]
+ //[SqlCodeFirst]
public partial class Job_ApplicantProfile : BFBaseModel
{
/// <summary>
@@ -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>
@@ -209,8 +221,8 @@
/// <summary>
/// 宸ヤ綔缁忓巻
/// </summary>
- [SqlCodeFirst]
- public class Job_EmploymentRecord
+ //[SqlCodeFirst]
+ 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>
@@ -265,7 +280,7 @@
/// <summary>
/// 瀹跺涵鎴愬憳
/// </summary>
- [SqlCodeFirst]
+ //[SqlCodeFirst]
public class Job_FamilyMember
{
/// <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