| | |
| | | /*********************************************************************** |
| | | * Project: CoreCms |
| | | * ProjectName: 核心内容管理系统 |
| | | * Web: https://www.corecms.net |
| | | * Author: 大灰灰 |
| | | * Email: jianweie@163.com |
| | | * Project: baifenBinfa |
| | | * ProjectName: 百分兵法管理系统 |
| | | * Web: http://chuanyin.com |
| | | * Author: |
| | | * Email: 34161541@qq.com |
| | | * CreateTime: 2021-06-08 22:14:59 |
| | | * Description: 暂无 |
| | | ***********************************************************************/ |
| | | ***********************************************************************/ |
| | | using Chuanyin.Attribute; |
| | | using SqlSugar; |
| | | using System.ComponentModel.DataAnnotations; |
| | | |
| | |
| | | /// 门店表 |
| | | /// </summary> |
| | | [SugarTable("CoreCmsStore",TableDescription = "门店表")] |
| | | //[SqlCodeFirst] |
| | | public partial class CoreCmsStore |
| | | { |
| | | /// <summary> |
| | |
| | | { |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 序列 |
| | | /// </summary> |
| | |
| | | [SugarColumn(ColumnDescription = "距离")] |
| | | [Required(ErrorMessage = "请输入{0}")] |
| | | public System.Decimal distance { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 所属用户经销商 在申请成为经销商上建立店铺的时候关联,如果为0 或者空,为官方直营店,后台新建立店铺都为直营店 |
| | | /// </summary> |
| | | [Display(Name = "所属用户")] |
| | | [SugarColumn(ColumnDescription = "所属用户" ,IsNullable =true)] |
| | | public int? userID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否有效 |
| | | /// </summary> |
| | | [Display(Name = "生效")] |
| | | [SugarColumn(ColumnDescription = "生效",DefaultValue ="true")] |
| | | public bool en { get; set; }=true; |
| | | |
| | | |
| | | } |
| | | } |