/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: 34161541@qq.com * CreateTime: 2024-03-01 22:14:58 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// 代理货品池 /// [SugarTable("CoreCmsAgentProducts",TableDescription = "代理货品池")] public partial class CoreCmsAgentProducts { /// /// 代理货品池 /// public CoreCmsAgentProducts() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 关联代理商品池 /// [Display(Name = "关联代理商品池")] [SugarColumn(ColumnDescription = "关联代理商品池")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 agentGoodsId { get; set; } /// /// 商品序列 /// [Display(Name = "商品序列")] [SugarColumn(ColumnDescription = "商品序列")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 goodId { get; set; } /// /// 货品序列 /// [Display(Name = "货品序列")] [SugarColumn(ColumnDescription = "货品序列")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 productId { get; set; } /// /// 货品成本价格 /// [Display(Name = "货品成本价格")] [SugarColumn(ColumnDescription = "货品成本价格")] [Required(ErrorMessage = "请输入{0}")] public System.Decimal productCostPrice { get; set; } /// /// 货品销售价格 /// [Display(Name = "货品销售价格")] [SugarColumn(ColumnDescription = "货品销售价格")] [Required(ErrorMessage = "请输入{0}")] public System.Decimal productPrice { get; set; } /// /// 代理商等级 /// [Display(Name = "代理商等级")] [SugarColumn(ColumnDescription = "代理商等级")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 agentGradeId { get; set; } /// /// 代理价格 /// [Display(Name = "代理价格")] [SugarColumn(ColumnDescription = "代理价格")] [Required(ErrorMessage = "请输入{0}")] public System.Decimal agentGradePrice { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] [SugarColumn(ColumnDescription = "创建时间")] [Required(ErrorMessage = "请输入{0}")] public System.DateTime createTime { get; set; } /// /// 更新时间 /// [Display(Name = "更新时间")] [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public System.DateTime? updateTime { get; set; } /// /// 是否删除 /// [Display(Name = "是否删除")] [SugarColumn(ColumnDescription = "是否删除")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isDel { get; set; } } }