From 99e2324eea7af7dd8da898277abd6f2cbb32e3f2 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 25 三月 2024 16:28:19 +0800 Subject: [PATCH] 购物车接口 --- CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs | 36 ++++++++++++++++++++++++------------ 1 files changed, 24 insertions(+), 12 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs b/CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs index e1d2549..7444754 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 = "缁忛攢鍟嗚〃")] + [SqlCodeFirst] 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> @@ -163,7 +165,17 @@ /// </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; } + + + + } } \ No newline at end of file -- Gitblit v1.9.1