username@email.com
2024-05-29 7a3a4f8012a72f80d8dd62064a76655c803da864
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>
@@ -154,8 +156,8 @@
        /// 年销售额
        /// </summary>
        [Display(Name = "年销售额")]
        [SugarColumn(ColumnDescription = "年销售额")]
        public decimal sales { get; set; } = 0;
        [SugarColumn(ColumnDescription = "年销售额" ,IsNullable =true)]
        public decimal? sales { get; set; } = 0;
        /// <summary>
@@ -163,7 +165,30 @@
        /// </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; }
        /// <summary>
        /// 身份证
        /// </summary>
        [Display(Name = "身份证")]
        [SugarColumn(ColumnDescription = "身份证", IsNullable = true)]
        public string idCradNumber { get; set; }
        /// <summary>
        /// 学校名称
        /// </summary>
        [Display(Name = "学校名称")]
        [SugarColumn(ColumnDescription = "学校名称", IsNullable = true)]
        public string schoolName { get; set; }
    }
}