移动系统liao
2024-05-29 71e821ab5e6b3014fac9b691d6957bcc09704b70
CoreCms.Net.Model/Entities/Shop/CoreCmsStore.cs
@@ -1,12 +1,13 @@
/***********************************************************************
 *            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;
@@ -16,6 +17,7 @@
    /// 门店表
    /// </summary>
    [SugarTable("CoreCmsStore",TableDescription = "门店表")]
    //[SqlCodeFirst]
    public partial class CoreCmsStore
    {
        /// <summary>
@@ -25,6 +27,7 @@
        {
        }
        /// <summary>
        /// 序列
        /// </summary>
@@ -122,5 +125,22 @@
        [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;
    }
}