From 44e7987a5884ea2aa334bccca6983d9536c1e69b Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期二, 21 五月 2024 11:57:33 +0800 Subject: [PATCH] no message --- CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs | 66 +++++++++++++++++++++++++++------ 1 files changed, 54 insertions(+), 12 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs index 191a1f9..7444754 100644 --- a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs +++ b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs @@ -1,25 +1,27 @@ /*********************************************************************** - * 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; namespace CoreCms.Net.Model.Entities { /// <summary> - /// 鍒嗛攢鍟嗚〃 + /// 缁忛攢鍟嗚〃 /// </summary> - [SugarTable("CoreCmsDistribution",TableDescription = "鍒嗛攢鍟嗚〃")] + [SugarTable("CoreCmsDistribution",TableDescription = "缁忛攢鍟嗚〃")] + [SqlCodeFirst] 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,45 @@ [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 = "骞撮攢鍞")] + 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; } + + + + + } } \ No newline at end of file -- Gitblit v1.9.1