添加项目文件。

This commit is contained in:
JianWeie
2021-12-20 21:27:32 +08:00
parent 747486f5cb
commit 82d825b7a5
3514 changed files with 887941 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 地区表
/// </summary>
[SugarTable("CoreCmsArea",TableDescription = "地区表")]
public partial class CoreCmsArea
{
/// <summary>
/// 地区表
/// </summary>
public CoreCmsArea()
{
}
/// <summary>
/// 地区ID
/// </summary>
[Display(Name = "地区ID")]
[SugarColumn(ColumnDescription = "地区ID", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 父级ID
/// </summary>
[Display(Name = "父级ID")]
[SugarColumn(ColumnDescription = "父级ID", IsNullable = true)]
public System.Int32? parentId { get; set; }
/// <summary>
/// 地区深度
/// </summary>
[Display(Name = "地区深度")]
[SugarColumn(ColumnDescription = "地区深度", IsNullable = true)]
public System.Int32? depth { get; set; }
/// <summary>
/// 地区名称
/// </summary>
[Display(Name = "地区名称")]
[SugarColumn(ColumnDescription = "地区名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 邮编
/// </summary>
[Display(Name = "邮编")]
[SugarColumn(ColumnDescription = "邮编", IsNullable = true)]
[StringLength(10, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String postalCode { get; set; }
/// <summary>
/// 地区排序
/// </summary>
[Display(Name = "地区排序")]
[SugarColumn(ColumnDescription = "地区排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
}
}

View File

@@ -0,0 +1,70 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 店铺店员关联表
/// </summary>
[SugarTable("CoreCmsClerk",TableDescription = "店铺店员关联表")]
public partial class CoreCmsClerk
{
/// <summary>
/// 店铺店员关联表
/// </summary>
public CoreCmsClerk()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 店铺ID
/// </summary>
[Display(Name = "店铺ID")]
[SugarColumn(ColumnDescription = "店铺ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 storeId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
[Display(Name = "用户ID")]
[SugarColumn(ColumnDescription = "用户ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[Display(Name = "是否删除")]
[SugarColumn(ColumnDescription = "是否删除")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDel { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[Display(Name = "删除时间")]
[SugarColumn(ColumnDescription = "删除时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,77 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 图片表
/// </summary>
[SugarTable("CoreCmsImages",TableDescription = "图片表")]
public partial class CoreCmsImages
{
/// <summary>
/// 图片表
/// </summary>
public CoreCmsImages()
{
}
/// <summary>
/// 图片ID
/// </summary>
[Display(Name = "图片ID")]
[SugarColumn(ColumnDescription = "图片ID", IsPrimaryKey = true)]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String id { get; set; }
/// <summary>
/// 图片名称
/// </summary>
[Display(Name = "图片名称")]
[SugarColumn(ColumnDescription = "图片名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 绝对地址
/// </summary>
[Display(Name = "绝对地址")]
[SugarColumn(ColumnDescription = "绝对地址", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String url { get; set; }
/// <summary>
/// 物理地址
/// </summary>
[Display(Name = "物理地址")]
[SugarColumn(ColumnDescription = "物理地址", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String path { get; set; }
/// <summary>
/// 存储引擎
/// </summary>
[Display(Name = "存储引擎")]
[SugarColumn(ColumnDescription = "存储引擎", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String type { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[Display(Name = "是否删除")]
[SugarColumn(ColumnDescription = "是否删除", IsNullable = true)]
public System.Boolean? isDel { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "")]
[SugarColumn(ColumnDescription = "", IsNullable = true)]
public System.DateTime? createTime { get; set; }
}
}

View File

@@ -0,0 +1,87 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 物流公司表
/// </summary>
[SugarTable("CoreCmsLogistics",TableDescription = "物流公司表")]
public partial class CoreCmsLogistics
{
/// <summary>
/// 物流公司表
/// </summary>
public CoreCmsLogistics()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 物流公司名称
/// </summary>
[Display(Name = "物流公司名称")]
[SugarColumn(ColumnDescription = "物流公司名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String logiName { get; set; }
/// <summary>
/// 物流公司编码
/// </summary>
[Display(Name = "物流公司编码")]
[SugarColumn(ColumnDescription = "物流公司编码")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String logiCode { get; set; }
/// <summary>
/// 物流logo
/// </summary>
[Display(Name = "物流logo")]
[SugarColumn(ColumnDescription = "物流logo", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String imgUrl { get; set; }
/// <summary>
/// 物流电话
/// </summary>
[Display(Name = "物流电话")]
[SugarColumn(ColumnDescription = "物流电话", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String phone { get; set; }
/// <summary>
/// 物流网址
/// </summary>
[Display(Name = "物流网址")]
[SugarColumn(ColumnDescription = "物流网址", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String url { get; set; }
/// <summary>
/// 排序
/// </summary>
[Display(Name = "排序")]
[SugarColumn(ColumnDescription = "排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[Display(Name = "是否删除")]
[SugarColumn(ColumnDescription = "是否删除")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDelete { get; set; }
}
}

View File

@@ -0,0 +1,75 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 公告表
/// </summary>
[SugarTable("CoreCmsNotice",TableDescription = "公告表")]
public partial class CoreCmsNotice
{
/// <summary>
/// 公告表
/// </summary>
public CoreCmsNotice()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 公告标题
/// </summary>
[Display(Name = "公告标题")]
[SugarColumn(ColumnDescription = "公告标题")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String title { get; set; }
/// <summary>
/// 公告内容
/// </summary>
[Display(Name = "公告内容")]
[SugarColumn(ColumnDescription = "公告内容")]
[Required(ErrorMessage = "请输入{0}")]
public System.String contentBody { get; set; }
/// <summary>
/// 公告类型
/// </summary>
[Display(Name = "公告类型")]
[SugarColumn(ColumnDescription = "公告类型", IsNullable = true)]
public System.Int32? type { get; set; }
/// <summary>
/// 排序
/// </summary>
[Display(Name = "排序")]
[SugarColumn(ColumnDescription = "排序", IsNullable = true)]
public System.Int32? sort { get; set; }
/// <summary>
/// 软删除位 有时间代表已删除
/// </summary>
[Display(Name = "软删除位 有时间代表已删除")]
[SugarColumn(ColumnDescription = "软删除位 有时间代表已删除", IsNullable = true)]
public System.Boolean? isDel { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
}
}

View File

@@ -0,0 +1,69 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 单页
/// </summary>
[SugarTable("CoreCmsPages",TableDescription = "单页")]
public partial class CoreCmsPages
{
/// <summary>
/// 单页
/// </summary>
public CoreCmsPages()
{
}
/// <summary>
///
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 可视化区域编码
/// </summary>
[Display(Name = "可视化区域编码")]
[SugarColumn(ColumnDescription = "可视化区域编码", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String code { get; set; }
/// <summary>
/// 可编辑区域名称
/// </summary>
[Display(Name = "可编辑区域名称")]
[SugarColumn(ColumnDescription = "可编辑区域名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 描述
/// </summary>
[Display(Name = "描述")]
[SugarColumn(ColumnDescription = "描述", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String description { get; set; }
/// <summary>
/// 布局样式编码1手机端
/// </summary>
[Display(Name = "布局样式编码1手机端")]
[SugarColumn(ColumnDescription = "布局样式编码1手机端", IsNullable = true)]
public System.Int32? layout { get; set; }
/// <summary>
/// 1手机端2PC端
/// </summary>
[Display(Name = "1手机端2PC端")]
[SugarColumn(ColumnDescription = "1手机端2PC端", IsNullable = true)]
public System.Int32? type { get; set; }
}
}

View File

@@ -0,0 +1,72 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 单页内容
/// </summary>
[SugarTable("CoreCmsPagesItems",TableDescription = "单页内容")]
public partial class CoreCmsPagesItems
{
/// <summary>
/// 单页内容
/// </summary>
public CoreCmsPagesItems()
{
}
/// <summary>
///
/// </summary>
[Display(Name = "")]
[SugarColumn(ColumnDescription = "", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 组件编码
/// </summary>
[Display(Name = "组件编码")]
[SugarColumn(ColumnDescription = "组件编码")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String widgetCode { get; set; }
/// <summary>
/// 页面编码
/// </summary>
[Display(Name = "页面编码")]
[SugarColumn(ColumnDescription = "页面编码")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String pageCode { get; set; }
/// <summary>
/// 布局位置
/// </summary>
[Display(Name = "布局位置")]
[SugarColumn(ColumnDescription = "布局位置")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 positionId { get; set; }
/// <summary>
/// 排序,越小越靠前
/// </summary>
[Display(Name = "排序,越小越靠前")]
[SugarColumn(ColumnDescription = "排序,越小越靠前")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
/// <summary>
/// 组件配置内容
/// </summary>
[Display(Name = "组件配置内容")]
[SugarColumn(ColumnDescription = "组件配置内容", IsNullable = true)]
public System.String parameters { get; set; }
}
}

View File

@@ -0,0 +1,73 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商城服务说明
/// </summary>
[SugarTable("CoreCmsServiceDescription",TableDescription = "商城服务说明")]
public partial class CoreCmsServiceDescription
{
/// <summary>
/// 商城服务说明
/// </summary>
public CoreCmsServiceDescription()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 名称
/// </summary>
[Display(Name = "名称")]
[SugarColumn(ColumnDescription = "名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String title { get; set; }
/// <summary>
/// 类型
/// </summary>
[Display(Name = "类型")]
[SugarColumn(ColumnDescription = "类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 type { get; set; }
/// <summary>
/// 描述
/// </summary>
[Display(Name = "描述")]
[SugarColumn(ColumnDescription = "描述")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String description { get; set; }
/// <summary>
/// 是否展示
/// </summary>
[Display(Name = "是否展示")]
[SugarColumn(ColumnDescription = "是否展示")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isShow { get; set; }
/// <summary>
/// 排序
/// </summary>
[Display(Name = "排序")]
[SugarColumn(ColumnDescription = "排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sortId { get; set; }
}
}

View File

@@ -0,0 +1,43 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 店铺设置表
/// </summary>
[SugarTable("CoreCmsSetting",TableDescription = "店铺设置表")]
public partial class CoreCmsSetting
{
/// <summary>
/// 店铺设置表
/// </summary>
public CoreCmsSetting()
{
}
/// <summary>
/// 键
/// </summary>
[Display(Name = "键")]
[SugarColumn(ColumnDescription = "键", IsPrimaryKey = true)]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String sKey { get; set; }
/// <summary>
/// 值
/// </summary>
[Display(Name = "值")]
[SugarColumn(ColumnDescription = "值", IsNullable = true)]
public System.String sValue { get; set; }
}
}

View File

@@ -0,0 +1,154 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 配送方式表
/// </summary>
[SugarTable("CoreCmsShip",TableDescription = "配送方式表")]
public partial class CoreCmsShip
{
/// <summary>
/// 配送方式表
/// </summary>
public CoreCmsShip()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 配送方式名称
/// </summary>
[Display(Name = "配送方式名称")]
[SugarColumn(ColumnDescription = "配送方式名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 是否货到付款
/// </summary>
[Display(Name = "是否货到付款")]
[SugarColumn(ColumnDescription = "是否货到付款")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isCashOnDelivery { get; set; }
/// <summary>
/// 首重
/// </summary>
[Display(Name = "首重")]
[SugarColumn(ColumnDescription = "首重")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 firstUnit { get; set; }
/// <summary>
/// 续重
/// </summary>
[Display(Name = "续重")]
[SugarColumn(ColumnDescription = "续重")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 continueUnit { get; set; }
/// <summary>
/// 是否按地区设置配送费用
/// </summary>
[Display(Name = "是否按地区设置配送费用")]
[SugarColumn(ColumnDescription = "是否按地区设置配送费用")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isdefaultAreaFee { get; set; }
/// <summary>
/// 地区类型
/// </summary>
[Display(Name = "地区类型")]
[SugarColumn(ColumnDescription = "地区类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 areaType { get; set; }
/// <summary>
/// 首重费用
/// </summary>
[Display(Name = "首重费用")]
[SugarColumn(ColumnDescription = "首重费用")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal firstunitPrice { get; set; }
/// <summary>
/// 续重费用
/// </summary>
[Display(Name = "续重费用")]
[SugarColumn(ColumnDescription = "续重费用")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal continueunitPrice { get; set; }
/// <summary>
/// 配送费用计算表达式
/// </summary>
[Display(Name = "配送费用计算表达式")]
[SugarColumn(ColumnDescription = "配送费用计算表达式", IsNullable = true)]
public System.String exp { get; set; }
/// <summary>
/// 物流公司名称
/// </summary>
[Display(Name = "物流公司名称")]
[SugarColumn(ColumnDescription = "物流公司名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String logiName { get; set; }
/// <summary>
/// 物流公司编码
/// </summary>
[Display(Name = "物流公司编码")]
[SugarColumn(ColumnDescription = "物流公司编码", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String logiCode { get; set; }
/// <summary>
/// 是否默认
/// </summary>
[Display(Name = "是否默认")]
[SugarColumn(ColumnDescription = "是否默认")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDefault { get; set; }
/// <summary>
/// 配送方式排序
/// </summary>
[Display(Name = "配送方式排序")]
[SugarColumn(ColumnDescription = "配送方式排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
/// <summary>
/// 状态1正常2停用
/// </summary>
[Display(Name = "状态1正常2停用")]
[SugarColumn(ColumnDescription = "状态1正常2停用")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 status { get; set; }
/// <summary>
/// 是否包邮
/// </summary>
[Display(Name = "是否包邮")]
[SugarColumn(ColumnDescription = "是否包邮")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isfreePostage { get; set; }
/// <summary>
/// 地区配送费用
/// </summary>
[Display(Name = "地区配送费用")]
[SugarColumn(ColumnDescription = "地区配送费用", IsNullable = true)]
public System.String areaFee { get; set; }
/// <summary>
/// 商品总额满多少免运费
/// </summary>
[Display(Name = "商品总额满多少免运费")]
[SugarColumn(ColumnDescription = "商品总额满多少免运费")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal goodsMoney { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 配送方式表
/// </summary>
public partial class CoreCmsShip
{
/// <summary>
/// 商品总额满多少免运费
/// </summary>
[SugarColumn(IsIgnore = true)]
public object areaFeeObj { get; set; } = null;
}
}

View File

@@ -0,0 +1,126 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 门店表
/// </summary>
[SugarTable("CoreCmsStore",TableDescription = "门店表")]
public partial class CoreCmsStore
{
/// <summary>
/// 门店表
/// </summary>
public CoreCmsStore()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 门店名称
/// </summary>
[Display(Name = "门店名称")]
[SugarColumn(ColumnDescription = "门店名称", IsNullable = true)]
[StringLength(125, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String storeName { get; set; }
/// <summary>
/// 门店电话/手机号
/// </summary>
[Display(Name = "门店电话/手机号")]
[SugarColumn(ColumnDescription = "门店电话/手机号", IsNullable = true)]
[StringLength(13, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String mobile { get; set; }
/// <summary>
/// 门店联系人
/// </summary>
[Display(Name = "门店联系人")]
[SugarColumn(ColumnDescription = "门店联系人", IsNullable = true)]
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String linkMan { get; set; }
/// <summary>
/// 门店logo
/// </summary>
[Display(Name = "门店logo")]
[SugarColumn(ColumnDescription = "门店logo", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String logoImage { get; set; }
/// <summary>
/// 门店地区id
/// </summary>
[Display(Name = "门店地区id")]
[SugarColumn(ColumnDescription = "门店地区id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 areaId { get; set; }
/// <summary>
/// 门店详细地址
/// </summary>
[Display(Name = "门店详细地址")]
[SugarColumn(ColumnDescription = "门店详细地址", IsNullable = true)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String address { get; set; }
/// <summary>
/// 坐标位置
/// </summary>
[Display(Name = "坐标位置")]
[SugarColumn(ColumnDescription = "坐标位置", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String coordinate { get; set; }
/// <summary>
/// 纬度
/// </summary>
[Display(Name = "纬度")]
[SugarColumn(ColumnDescription = "纬度", IsNullable = true)]
[StringLength(40, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String latitude { get; set; }
/// <summary>
/// 经度
/// </summary>
[Display(Name = "经度")]
[SugarColumn(ColumnDescription = "经度", IsNullable = true)]
[StringLength(40, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String longitude { get; set; }
/// <summary>
/// 是否默认
/// </summary>
[Display(Name = "是否默认")]
[SugarColumn(ColumnDescription = "是否默认")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDefault { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
/// <summary>
/// 距离
/// </summary>
[Display(Name = "距离")]
[SugarColumn(ColumnDescription = "距离")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal distance { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 门店表
/// </summary>
public partial class CoreCmsStore
{
/// <summary>
/// 全名详细地址
/// </summary>
[SugarColumn(IsIgnore = true)]
public string allAddress { get; set; }
/// <summary>
/// 距离说明
/// </summary>
[Display(Name = "距离说明")]
[SugarColumn(IsIgnore = true)]
public string distanceStr { get; set; }
}
}