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/UserCompany.cs | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 100 insertions(+), 0 deletions(-) diff --git a/cylsg/cylsg.Model/UserModel/UserCompany.cs b/cylsg/cylsg.Model/UserModel/UserCompany.cs new file mode 100644 index 0000000..bc4b662 --- /dev/null +++ b/cylsg/cylsg.Model/UserModel/UserCompany.cs @@ -0,0 +1,100 @@ +锘縰sing cylsg.Core; +using cylsg.Core.Attributes; +using Microsoft.AspNetCore.Routing.Constraints; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace cylsg.Model.UserModel +{ + /// <summary> + /// 鐢ㄦ埛鍏徃 + /// </summary> + [Description("鐢ㄦ埛鍏徃")] + [CoderFirst] + public class UserCompany : 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 BusinessLicense { get; set; } + + + + /// <summary> + /// 浼佷笟鍚嶇О + /// </summary> + [SugarColumn(ColumnDescription = "浼佷笟鍚嶇О", ColumnDataType = "nvarchar(100)", IsNullable = true)] + public string Suppliername { get; set; } + + /// <summary> + /// 娉ㄥ唽鏃堕棿 + /// </summary> + [SugarColumn(ColumnDescription = "娉ㄥ唽鏃堕棿", IsNullable = true)] + public DateTime? Regtime { get; set; } + + /// <summary> + /// 鑱旂郴鍦板潃 + /// </summary> + [SugarColumn(ColumnDescription = "鑱旂郴鍦板潃", ColumnDataType = "nvarchar(500)", IsNullable = true)] + public string Address { get; set; } + + /// <summary> + /// 浼佷笟娉ㄥ唽鍙� + /// </summary> + [SugarColumn(ColumnDescription = "浼佷笟娉ㄥ唽鍙�", ColumnDataType = "nvarchar(30)", IsNullable = true)] + public string Suppliercode { get; set; } + + + /// <summary> + /// 鑱旂郴浜� + /// </summary> + [SugarColumn(ColumnDescription = "鑱旂郴浜�", ColumnDataType = "nvarchar(50)", IsNullable = true)] + public string Contact { get; set; } + + + /// <summary> + /// 鑱旂郴鐢佃瘽 + /// </summary> + [SugarColumn(ColumnDescription = "鑱旂郴鐢佃瘽", ColumnDataType = "nvarchar(50)", IsNullable = true)] + public string Phone { 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? ChongZhiYue { get; set; } + + /// <summary> + /// 鏄惁鍙互鍏呭�硷紝宸ヤ汉鎻愮幇 + /// </summary> + [SugarColumn(ColumnDescription = "鏄惁鍙互鍏呭�硷紝宸ヤ汉鎻愮幇", IsNullable = true)] + public bool? IsTiXian { get; set; } + } +} -- Gitblit v1.9.1