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 | 53 +++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 39 insertions(+), 14 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
index e1d2549..c84bff4 100644
--- a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
+++ b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
@@ -1,12 +1,13 @@
/***********************************************************************
- * Project: CoreCms
+ * Project: baifenBinfa
* ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺
- * Web: hhtp://chuanyin.com
+ * Web: http://chuanyin.com
* Author:
- * Email: jianweie@163.com
- * CreateTime: 2021-06-08 22:14:58
+ * Email: 34161541@qq.com
+ * CreateTime: 2024-03-01 22:14:58
* Description: 鏆傛棤
-***********************************************************************/
+***********************************************************************/
+using Chuanyin.Attribute;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
@@ -16,6 +17,7 @@
/// 缁忛攢鍟嗚〃
/// </summary>
[SugarTable("CoreCmsDistribution",TableDescription = "缁忛攢鍟嗚〃")]
+
public partial class CoreCmsDistribution
{
/// <summary>
@@ -57,21 +59,21 @@
/// 鎵嬫満鍙�
/// </summary>
[Display(Name = "鎵嬫満鍙�")]
- [SugarColumn(ColumnDescription = "鎵嬫満鍙�", IsNullable = true)]
+ [SugarColumn(ColumnDescription = "鎵嬫満鍙�", IsNullable = false)]
[StringLength(50, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String mobile { get; set; }
/// <summary>
/// 寰俊鍙�
/// </summary>
[Display(Name = "寰俊鍙�")]
- [SugarColumn(ColumnDescription = "寰俊鍙�", IsNullable = false)]
+ [SugarColumn(ColumnDescription = "寰俊鍙�", IsNullable = true)]
[StringLength(50, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String weixin { get; set; }
/// <summary>
/// qq鍙�
/// </summary>
[Display(Name = "qq鍙�")]
- [SugarColumn(ColumnDescription = "qq鍙�", IsNullable = false)]
+ [SugarColumn(ColumnDescription = "qq鍙�", IsNullable = true)]
[StringLength(50, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String qq { get; set; }
/// <summary>
@@ -85,21 +87,21 @@
/// 搴楅摵Logo
/// </summary>
[Display(Name = "搴楅摵Logo")]
- [SugarColumn(ColumnDescription = "搴楅摵Logo", IsNullable = false)]
+ [SugarColumn(ColumnDescription = "搴楅摵Logo", IsNullable = true)]
[StringLength(255, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String storeLogo { get; set; }
/// <summary>
/// 搴楅摵Banner
/// </summary>
[Display(Name = "搴楅摵Banner")]
- [SugarColumn(ColumnDescription = "搴楅摵Banner", IsNullable = false)]
+ [SugarColumn(ColumnDescription = "搴楅摵Banner", IsNullable = true)]
[StringLength(255, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String storeBanner { get; set; }
/// <summary>
/// 搴楅摵绠�浠�
/// </summary>
[Display(Name = "搴楅摵绠�浠�")]
- [SugarColumn(ColumnDescription = "搴楅摵绠�浠�", IsNullable = false)]
+ [SugarColumn(ColumnDescription = "搴楅摵绠�浠�", IsNullable = true)]
[StringLength(255, ErrorMessage = "銆恵0}銆戜笉鑳借秴杩噞1}瀛楃闀垮害")]
public System.String storeDesc { get; set; }
/// <summary>
@@ -154,8 +156,8 @@
/// 骞撮攢鍞
/// </summary>
[Display(Name = "骞撮攢鍞")]
- [SugarColumn(ColumnDescription = "骞撮攢鍞")]
- public decimal sales { get; set; } = 0;
+ [SugarColumn(ColumnDescription = "骞撮攢鍞" ,IsNullable =true)]
+ public decimal? sales { get; set; } = 0;
/// <summary>
@@ -163,7 +165,30 @@
/// </summary>
[Display(Name = "鎵�灞炶涓�")]
[SugarColumn(ColumnDescription = "鎵�灞炶涓�")]
- public string profession { get; set; }
+ 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