liaoxujun@qq.com
2024-03-06 063e40d8f159f6d02a7ac421d8f3fb1c694d7aab
CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
@@ -1,8 +1,8 @@
/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统
 *                Web: https://www.corecms.net
 *             Author: 大灰灰
 *        ProjectName: 百分兵法管理系统
 *                Web: hhtp://chuanyin.com
 *             Author:
 *              Email: jianweie@163.com
 *         CreateTime: 2021-06-08 22:14:58
 *        Description: 暂无
@@ -13,13 +13,13 @@
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 分销商表
    /// 经销商表
    /// </summary>
    [SugarTable("CoreCmsDistribution",TableDescription = "分销商表")]
    [SugarTable("CoreCmsDistribution",TableDescription = "经销商表")]
    public partial class CoreCmsDistribution
    {
        /// <summary>
        /// 分销商表
        /// 经销商表
        /// </summary>
        public CoreCmsDistribution()
        {
@@ -40,10 +40,10 @@
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 userId { get; set; }
        /// <summary>
        /// 分销商名称
        /// 经销商名称
        /// </summary>
        [Display(Name = "分销商名称")]
        [SugarColumn(ColumnDescription = "分销商名称", IsNullable = true)]
        [Display(Name = "经销商名称")]
        [SugarColumn(ColumnDescription = "经销商名称", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String name { get; set; }
        /// <summary>
@@ -64,14 +64,14 @@
        /// 微信号
        /// </summary>
        [Display(Name = "微信号")]
        [SugarColumn(ColumnDescription = "微信号", IsNullable = true)]
        [SugarColumn(ColumnDescription = "微信号", IsNullable = false)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String weixin { get; set; }
        /// <summary>
        /// qq号
        /// </summary>
        [Display(Name = "qq号")]
        [SugarColumn(ColumnDescription = "qq号", IsNullable = true)]
        [SugarColumn(ColumnDescription = "qq号", IsNullable = false)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String qq { get; set; }
        /// <summary>
@@ -85,21 +85,21 @@
        /// 店铺Logo
        /// </summary>
        [Display(Name = "店铺Logo")]
        [SugarColumn(ColumnDescription = "店铺Logo", IsNullable = true)]
        [SugarColumn(ColumnDescription = "店铺Logo", IsNullable = false)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeLogo { get; set; }
        /// <summary>
        /// 店铺Banner
        /// </summary>
        [Display(Name = "店铺Banner")]
        [SugarColumn(ColumnDescription = "店铺Banner", IsNullable = true)]
        [SugarColumn(ColumnDescription = "店铺Banner", IsNullable = false)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeBanner { get; set; }
        /// <summary>
        /// 店铺简介
        /// </summary>
        [Display(Name = "店铺简介")]
        [SugarColumn(ColumnDescription = "店铺简介", IsNullable = true)]
        [SugarColumn(ColumnDescription = "店铺简介", IsNullable = false)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeDesc { get; set; }
        /// <summary>
@@ -135,5 +135,35 @@
        [SugarColumn(ColumnDescription = "是否删除")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isDelete { get; set; }
        /********************************************* 增加字段 ************************************/
        /// <summary>
        /// 店铺区域
        /// </summary>
        [Display(Name = "店铺区域")]
        [SugarColumn(ColumnDescription = "店铺区域" , IsNullable = true)]
        public string areaCode { get; set; }
        /// <summary>
        /// 地址详情
        /// </summary>
        [Display(Name = "地址详情")]
        [SugarColumn(ColumnDescription = "地址详情")]
        public string address { get; set; }
        /// <summary>
        /// 年销售额
        /// </summary>
        [Display(Name = "年销售额")]
        [SugarColumn(ColumnDescription = "年销售额")]
        public decimal sales { get; set; } = 0;
        /// <summary>
        /// 所属行业
        /// </summary>
        [Display(Name = "所属行业")]
        [SugarColumn(ColumnDescription = "所属行业")]
        public string profession { get; set; }
    }
}