From 306ab8865840b2637590abb6e670e5614446f24d Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期二, 30 七月 2024 13:27:31 +0800 Subject: [PATCH] 增加商品字段,订单字段 --- CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs | 65 +++++++++++++++++++++++++++++++- 1 files changed, 63 insertions(+), 2 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs index df75e85..9c250fc 100644 --- a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs +++ b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs @@ -1,15 +1,17 @@ /*********************************************************************** - * Project: CoreCms + * Project: baifenBinfa * ProjectName: 鏍稿績鍐呭绠$悊绯荤粺 * Web: https://www.corecms.net * Author: 澶х伆鐏� - * Email: jianweie@163.com + * Email: 34161541@qq.com * CreateTime: 2021/7/16 1:14:14 * Description: 鏆傛棤 ***********************************************************************/ using System; +using System.ComponentModel; using System.ComponentModel.DataAnnotations; +using Chuanyin.Attribute; using SqlSugar; namespace CoreCms.Net.Model.Entities @@ -17,6 +19,7 @@ /// <summary> /// 鍟嗗搧琛� /// </summary> + [SqlCodeFirst] public partial class CoreCmsGoods { /// <summary> @@ -251,6 +254,64 @@ [Display(Name = "鍒濆閿�閲�")] [Required(ErrorMessage = "璇疯緭鍏0}")] public int initialSales { get; set; } + /// <summary> + /// 鍖哄煙浠g爜 + /// </summary> + [SugarColumn(ColumnDescription = "鍖哄煙浠g爜")] + public string areaCode { get; set; } + /// <summary> + /// 鍙戝竷鑰卌msUserID + /// </summary> + [SugarColumn(ColumnDescription = "鍙戝竷鑰卌msUserID",IsNullable =true)] + public int? publisherId { get; set; } + /// <summary> + /// 瀹℃牳鑰呭憳宸YSUserID" + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鑰呭憳宸YSUserID", IsNullable = true)] + public int? approverId { get; set; } + + /// <summary> + /// 瀹℃牳鐘舵�� + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鐘舵��", IsNullable = true)] + public AuditStatusTypoe? auditStatus { get; set; } + + /// <summary> + /// 瀹℃牳鏃堕棿 + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鏃堕棿", IsNullable = true)] + public DateTime? auditTime { get; set; } + } + + /// <summary> + /// 瀹℃牳鐘舵�佹灇涓撅紝鐢ㄤ簬琛ㄧず涓嶅悓涓氬姟娴佺▼涓殑瀹℃牳鐘舵�併�� + /// </summary> + public enum AuditStatusTypoe + { + /// <summary> + /// 寰呭鏍哥姸鎬侊紝琛ㄧず瀹℃牳灏氭湭寮�濮嬨�� + /// </summary> + Pending = 0, + + /// <summary> + /// 宸叉壒鍑嗙姸鎬侊紝琛ㄧず瀹℃牳宸查�氳繃銆� + /// </summary> + Approved = 1, + + /// <summary> + /// 宸叉嫆缁濈姸鎬侊紝琛ㄧず瀹℃牳鏈�氳繃銆� + /// </summary> + Rejected = 2, + + /// <summary> + /// 瀹℃牳杩涜涓姸鎬侊紝琛ㄧず瀹℃牳姝e湪澶勭悊涓�� + /// </summary> + InProgress = 3, + + /// <summary> + /// 宸插彇娑堢姸鎬侊紝琛ㄧず瀹℃牳宸茶鍙栨秷銆� + /// </summary> + Cancelled = 4 } } \ No newline at end of file -- Gitblit v1.9.1