From c0fd34dd01b5a00015d2e6ce31dbdf9f6a9e79b5 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 18 四月 2024 11:48:16 +0800 Subject: [PATCH] no message --- CoreCms.Net.Model/Entities/Shop/CoreCmsStore.cs | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Shop/CoreCmsStore.cs b/CoreCms.Net.Model/Entities/Shop/CoreCmsStore.cs index 48c2c8c..d626b47 100644 --- a/CoreCms.Net.Model/Entities/Shop/CoreCmsStore.cs +++ b/CoreCms.Net.Model/Entities/Shop/CoreCmsStore.cs @@ -1,12 +1,13 @@ /*********************************************************************** - * Project: CoreCms + * Project: baifenBinfa * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺 - * Web: hhtp://chuanyin.com + * Web: http://chuanyin.com * Author: - * Email: jianweie@163.com + * Email: 34161541@qq.com * CreateTime: 2021-06-08 22:14:59 * Description: 鏆傛棤 -***********************************************************************/ +***********************************************************************/ +using Chuanyin.Attribute; using SqlSugar; using System.ComponentModel.DataAnnotations; @@ -16,6 +17,7 @@ /// 闂ㄥ簵琛� /// </summary> [SugarTable("CoreCmsStore",TableDescription = "闂ㄥ簵琛�")] + [SqlCodeFirst] public partial class CoreCmsStore { /// <summary> @@ -25,6 +27,7 @@ { } + /// <summary> /// 搴忓垪 /// </summary> @@ -122,5 +125,22 @@ [SugarColumn(ColumnDescription = "璺濈")] [Required(ErrorMessage = "璇疯緭鍏0}")] public System.Decimal distance { get; set; } + + + /// <summary> + /// 鎵�灞炵敤鎴风粡閿�鍟� 鍦ㄧ敵璇锋垚涓虹粡閿�鍟嗕笂寤虹珛搴楅摵鐨勬椂鍊欏叧鑱旓紝濡傛灉涓�0 鎴栬�呯┖锛屼负瀹樻柟鐩磋惀搴楋紝鍚庡彴鏂板缓绔嬪簵閾洪兘涓虹洿钀ュ簵 + /// </summary> + [Display(Name = "鎵�灞炵敤鎴�")] + [SugarColumn(ColumnDescription = "鎵�灞炵敤鎴�" ,IsNullable =true)] + public int? userID { get; set; } + + /// <summary> + /// 鏄惁鏈夋晥 + /// </summary> + [Display(Name = "鐢熸晥")] + [SugarColumn(ColumnDescription = "鐢熸晥",DefaultValue ="true")] + public bool en { get; set; }=true; + + } } \ No newline at end of file -- Gitblit v1.9.1