/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2024-03-01 22:14:58
* Description: 暂无
***********************************************************************/
using Chuanyin.Attribute;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 经销商表
///
[SugarTable("CoreCmsDistribution",TableDescription = "经销商表")]
public partial class CoreCmsDistribution
{
///
/// 经销商表
///
public CoreCmsDistribution()
{
}
///
/// 序列
///
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 用户Id
///
[Display(Name = "用户Id")]
[SugarColumn(ColumnDescription = "用户Id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
///
/// 经销商名称
///
[Display(Name = "经销商名称")]
[SugarColumn(ColumnDescription = "经销商名称", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
///
/// 分销等级
///
[Display(Name = "分销等级")]
[SugarColumn(ColumnDescription = "分销等级")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 gradeId { get; set; }
///
/// 手机号
///
[Display(Name = "手机号")]
[SugarColumn(ColumnDescription = "手机号", IsNullable = false)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String mobile { get; set; }
///
/// 微信号
///
[Display(Name = "微信号")]
[SugarColumn(ColumnDescription = "微信号", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String weixin { get; set; }
///
/// qq号
///
[Display(Name = "qq号")]
[SugarColumn(ColumnDescription = "qq号", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String qq { get; set; }
///
/// 店铺名称
///
[Display(Name = "店铺名称")]
[SugarColumn(ColumnDescription = "店铺名称", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String storeName { get; set; }
///
/// 店铺Logo
///
[Display(Name = "店铺Logo")]
[SugarColumn(ColumnDescription = "店铺Logo", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String storeLogo { get; set; }
///
/// 店铺Banner
///
[Display(Name = "店铺Banner")]
[SugarColumn(ColumnDescription = "店铺Banner", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String storeBanner { get; set; }
///
/// 店铺简介
///
[Display(Name = "店铺简介")]
[SugarColumn(ColumnDescription = "店铺简介", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String storeDesc { get; set; }
///
/// 审核状态
///
[Display(Name = "审核状态")]
[SugarColumn(ColumnDescription = "审核状态")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 verifyStatus { 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 = "审核时间", IsNullable = true)]
public System.DateTime? verifyTime { get; set; }
///
/// 是否删除
///
[Display(Name = "是否删除")]
[SugarColumn(ColumnDescription = "是否删除")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDelete { get; set; }
/********************************************* 增加字段 ************************************/
///
/// 店铺区域
///
[Display(Name = "店铺区域")]
[SugarColumn(ColumnDescription = "店铺区域" , IsNullable = true)]
public string areaCode { get; set; }
///
/// 地址详情
///
[Display(Name = "地址详情")]
[SugarColumn(ColumnDescription = "地址详情")]
public string address { get; set; }
///
/// 年销售额
///
[Display(Name = "年销售额")]
[SugarColumn(ColumnDescription = "年销售额" ,IsNullable =true)]
public decimal? sales { get; set; } = 0;
///
/// 所属行业
///
[Display(Name = "所属行业")]
[SugarColumn(ColumnDescription = "所属行业")]
public string profession { get; set; }
///
/// 店铺定位
///
[Display(Name = "店铺定位")]
[SugarColumn(ColumnDescription = "店铺定位", IsNullable =true)]
public string storeCoordinate { get; set; }
///
/// 身份证
///
[Display(Name = "身份证")]
[SugarColumn(ColumnDescription = "身份证", IsNullable = true)]
public string idCradNumber { get; set; }
///
/// 学校名称
///
[Display(Name = "学校名称")]
[SugarColumn(ColumnDescription = "学校名称", IsNullable = true)]
public string schoolName { get; set; }
}
}