| | |
| | | /*********************************************************************** |
| | | * 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; |
| | | |
| | | namespace CoreCms.Net.Model.Entities |
| | | { |
| | | /// <summary> |
| | | /// 分销商表 |
| | | /// 经销商表 |
| | | /// </summary> |
| | | [SugarTable("CoreCmsDistribution",TableDescription = "分销商表")] |
| | | [SugarTable("CoreCmsDistribution",TableDescription = "经销商表")] |
| | | [SqlCodeFirst] |
| | | public partial class CoreCmsDistribution |
| | | { |
| | | /// <summary> |
| | | /// 分销商表 |
| | | /// 经销商表 |
| | | /// </summary> |
| | | public CoreCmsDistribution() |
| | | { |
| | |
| | | [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> |
| | |
| | | /// 手机号 |
| | | /// </summary> |
| | | [Display(Name = "手机号")] |
| | | [SugarColumn(ColumnDescription = "手机号", IsNullable = true)] |
| | | [SugarColumn(ColumnDescription = "手机号", IsNullable = false)] |
| | | [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] |
| | | public System.String mobile { get; set; } |
| | | /// <summary> |
| | |
| | | [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 = "年销售额" ,IsNullable =true)] |
| | | public decimal? sales { get; set; } = 0; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 所属行业 |
| | | /// </summary> |
| | | [Display(Name = "所属行业")] |
| | | [SugarColumn(ColumnDescription = "所属行业")] |
| | | 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; } |
| | | |
| | | |
| | | } |
| | | } |