From 5f4384bdab4697cc0a678fb17e55603a91a4750b Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 12 四月 2024 08:44:54 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop --- CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs | 30 ++++++++++++++++++++++++++++-- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs index 6cd916a..8de145c 100644 --- a/CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs +++ b/CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs @@ -8,6 +8,7 @@ * Description: 鏆傛棤 ***********************************************************************/ +using Chuanyin.Attribute; using SqlSugar; using System.ComponentModel; using System.ComponentModel.DataAnnotations; @@ -17,6 +18,7 @@ /// <summary> /// 璐у搧琛� /// </summary> + public partial class CoreCmsProducts { /// <summary> @@ -98,8 +100,32 @@ public System.Decimal costprice { get; set; } - - + + + + + /// <summary> + /// 缁忛攢鍟嗕环鏍� + /// </summary> + [Display(Name = "缁忛攢鍟嗕环鏍�")] + [Required(ErrorMessage = "璇疯緭鍏0}")] + public System.Decimal distributionPrice { get; set; } + + /// <summary> + /// 缁忛攢鍟嗘彁鎴� + /// </summary> + [Display(Name = "缁忛攢鍟嗘彁鎴�")] + [Required(ErrorMessage = "璇疯緭鍏0}")] + [SugarColumn( DefaultValue ="0",ColumnDescription = "缁忛攢鍟嗘彁鎴�")] + public System.Decimal distributionCutMoney{ get; set; } + + /// <summary> + /// 鏅�氬晢鎴锋彁鎴� + /// </summary> + [Display(Name = "鏅�氬晢鎴锋彁鎴�")] + [Required(ErrorMessage = "璇疯緭鍏0}")] + [SugarColumn(DefaultValue = "0",ColumnDescription = "鏅�氬晢鎴锋彁鎴�")] + public System.Decimal cutMoney { get; set; } /// <summary> /// 璐у搧甯傚満浠� /// </summary> -- Gitblit v1.9.1