From 94da0698c01915b1e340415e080aa03050700d97 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期二, 15 十月 2024 17:04:56 +0800
Subject: [PATCH] 增加川印的模型
---
CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs | 83 ++++++++++++++++++++++++++++++++++-------
1 files changed, 69 insertions(+), 14 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
index df6969d..c84bff4 100644
--- a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
+++ b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
@@ -1,25 +1,27 @@
/***********************************************************************
- * Project: CoreCms
- * ProjectName: 鏍稿績鍐呭绠$悊绯荤粺
- * Web: https://www.corecms.net
- * Author: 澶х伆鐏�
- * Email: jianweie@163.com
- * CreateTime: 2021-06-08 22:14:58
+ * Project: baifenBinfa
+ * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺
+ * Web: http://chuanyin.com
+ * Author:
+ * Email: 34161541@qq.com
+ * CreateTime: 2024-03-01 22:14:58
* Description: 鏆傛棤
-***********************************************************************/
+***********************************************************************/
+using Chuanyin.Attribute;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
- /// 鍒嗛攢鍟嗚〃
+ /// 缁忛攢鍟嗚〃
/// </summary>
- [SugarTable("CoreCmsDistribution",TableDescription = "鍒嗛攢鍟嗚〃")]
+ [SugarTable("CoreCmsDistribution",TableDescription = "缁忛攢鍟嗚〃")]
+
public partial class CoreCmsDistribution
{
/// <summary>
- /// 鍒嗛攢鍟嗚〃
+ /// 缁忛攢鍟嗚〃
/// </summary>
public CoreCmsDistribution()
{
@@ -40,10 +42,10 @@
[Required(ErrorMessage = "璇疯緭鍏0}")]
public System.Int32 userId { get; set; }
/// <summary>
- /// 鍒嗛攢鍟嗗悕绉�
+ /// 缁忛攢鍟嗗悕绉�
/// </summary>
- [Display(Name = "鍒嗛攢鍟嗗悕绉�")]
- [SugarColumn(ColumnDescription = "鍒嗛攢鍟嗗悕绉�", IsNullable = true)]
+ [Display(Name = "缁忛攢鍟嗗悕绉�")]
+ [SugarColumn(ColumnDescription = "缁忛攢鍟嗗悕绉�", IsNullable = true)]
[StringLength(255, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String name { get; set; }
/// <summary>
@@ -57,7 +59,7 @@
/// 鎵嬫満鍙�
/// </summary>
[Display(Name = "鎵嬫満鍙�")]
- [SugarColumn(ColumnDescription = "鎵嬫満鍙�", IsNullable = true)]
+ [SugarColumn(ColumnDescription = "鎵嬫満鍙�", IsNullable = false)]
[StringLength(50, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String mobile { get; set; }
/// <summary>
@@ -135,5 +137,58 @@
[SugarColumn(ColumnDescription = "鏄惁鍒犻櫎")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
public System.Boolean isDelete { get; set; }
+ /********************************************* 澧炲姞瀛楁 ************************************/
+ /// <summary>
+ /// 搴楅摵鍖哄煙
+ /// </summary>
+ [Display(Name = "搴楅摵鍖哄煙")]
+ [SugarColumn(ColumnDescription = "搴楅摵鍖哄煙" , IsNullable = true)]
+ public string areaCode { get; set; }
+
+ /// <summary>
+ /// 鍦板潃璇︽儏
+ /// </summary>
+ [Display(Name = "鍦板潃璇︽儏")]
+ [SugarColumn(ColumnDescription = "鍦板潃璇︽儏")]
+ public string address { get; set; }
+
+ /// <summary>
+ /// 骞撮攢鍞
+ /// </summary>
+ [Display(Name = "骞撮攢鍞")]
+ [SugarColumn(ColumnDescription = "骞撮攢鍞" ,IsNullable =true)]
+ public decimal? sales { get; set; } = 0;
+
+
+ /// <summary>
+ /// 鎵�灞炶涓�
+ /// </summary>
+ [Display(Name = "鎵�灞炶涓�")]
+ [SugarColumn(ColumnDescription = "鎵�灞炶涓�")]
+ public string profession { get; set; }
+ /// <summary>
+ /// 搴楅摵瀹氫綅
+ /// </summary>
+ [Display(Name = "搴楅摵瀹氫綅")]
+ [SugarColumn(ColumnDescription = "搴楅摵瀹氫綅", IsNullable =true)]
+ public string storeCoordinate { get; set; }
+
+
+ /// <summary>
+ /// 韬唤璇�
+ /// </summary>
+ [Display(Name = "韬唤璇�")]
+ [SugarColumn(ColumnDescription = "韬唤璇�", IsNullable = true)]
+ public string idCradNumber { get; set; }
+
+
+ /// <summary>
+ /// 瀛︽牎鍚嶇О
+ /// </summary>
+ [Display(Name = "瀛︽牎鍚嶇О")]
+ [SugarColumn(ColumnDescription = "瀛︽牎鍚嶇О", IsNullable = true)]
+ public string schoolName { get; set; }
+
+
}
}
\ No newline at end of file
--
Gitblit v1.9.1