From 24a3e64f5713fb0c6f8bae865715c66308371955 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 15 八月 2024 12:54:55 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/cylsg --- cylsg/cylsg.Model/UserModel/UserWorker.cs | 82 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 82 insertions(+), 0 deletions(-) diff --git a/cylsg/cylsg.Model/UserModel/UserWorker.cs b/cylsg/cylsg.Model/UserModel/UserWorker.cs new file mode 100644 index 0000000..4a3235d --- /dev/null +++ b/cylsg/cylsg.Model/UserModel/UserWorker.cs @@ -0,0 +1,82 @@ +锘縰sing cylsg.Core; +using cylsg.Core.Attributes; +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; + +namespace cylsg.Model.UserModel +{ + /// <summary> + /// 鐢ㄦ埛宸ヤ汉 + /// </summary> + [Description("鐢ㄦ埛宸ヤ汉")] + [CoderFirst] + public class UserWorker : BaseModel + { + /// <summary> + /// 鐢ㄦ埛宸ヤ汉Id + /// </summary> + [SugarColumn(ColumnDescription = "鐢ㄦ埛宸ヤ汉ID", IsPrimaryKey = true, IsIdentity = true)] + public int Id { get; set; } + + /// <summary> + /// 鐢ㄦ埛id + /// </summary> + [SugarColumn(ColumnDescription = "鐢ㄦ埛id")] + public int UserId { get; set; } + + /// <summary> + /// 韬唤璇佹闈㈣矾寰� + /// </summary> + [SugarColumn(ColumnDescription = "韬唤璇佹闈㈣矾寰�", ColumnDataType = "nvarchar(500)")] + public string IdCardFace { get; set; } + + /// <summary> + /// 韬唤璇佸弽闈㈣矾寰� + /// </summary> + [SugarColumn(ColumnDescription = "韬唤璇佸弽闈㈣矾寰�", ColumnDataType = "nvarchar(500)")] + public string IdCardBack { get; set; } + + /// <summary> + /// 濮撳悕 + /// </summary> + [SugarColumn(ColumnDescription = "濮撳悕", ColumnDataType = "nvarchar(100)", IsNullable = true)] + public string name { get; set; } + + /// <summary> + /// 鐢佃瘽鍙风爜 + /// </summary> + [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", ColumnDataType = "nvarchar(30)", IsNullable = true)] + public string Phone { get; set; } + + /// <summary> + /// 韬唤璇佸彿 + /// </summary> + [SugarColumn(ColumnDescription = "韬唤璇佸彿", ColumnDataType = "nvarchar(30)", IsNullable = true)] + public string IdCode { get; set; } + + /// <summary> + /// 鑱旂郴鍦板潃 + /// </summary> + [SugarColumn(ColumnDescription = "鑱旂郴鍦板潃", ColumnDataType = "nvarchar(500)", IsNullable = true)] + public string Address{ get; set; } + + /// <summary> + /// 绠�鍘嗘弿杩� + /// </summary> + [SugarColumn(ColumnDescription = "绠�鍘嗘弿杩�", ColumnDataType = "nvarchar(2000)", IsNullable = true)] + public string Resume { get; set; } + + /// <summary> + /// 鎻愮幇浣欓 + /// </summary> + [SugarColumn(ColumnDescription = "鎻愮幇浣欓", Length = 18, DecimalDigits = 2, IsNullable = true)] + public decimal? TiXianYue { get; set; } + + } +} -- Gitblit v1.9.1