mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-23 16:27:20 +08:00
添加项目文件。
This commit is contained in:
139
CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
Normal file
139
CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
Normal file
@@ -0,0 +1,139 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistribution",TableDescription = "分销商表")]
|
||||
public partial class CoreCmsDistribution
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商表
|
||||
/// </summary>
|
||||
public CoreCmsDistribution()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 分销商名称
|
||||
/// </summary>
|
||||
[Display(Name = "分销商名称")]
|
||||
[SugarColumn(ColumnDescription = "分销商名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 分销等级
|
||||
/// </summary>
|
||||
[Display(Name = "分销等级")]
|
||||
[SugarColumn(ColumnDescription = "分销等级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 gradeId { get; set; }
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
/// </summary>
|
||||
[Display(Name = "手机号")]
|
||||
[SugarColumn(ColumnDescription = "手机号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 微信号
|
||||
/// </summary>
|
||||
[Display(Name = "微信号")]
|
||||
[SugarColumn(ColumnDescription = "微信号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String weixin { get; set; }
|
||||
/// <summary>
|
||||
/// qq号
|
||||
/// </summary>
|
||||
[Display(Name = "qq号")]
|
||||
[SugarColumn(ColumnDescription = "qq号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String qq { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺名称
|
||||
/// </summary>
|
||||
[Display(Name = "店铺名称")]
|
||||
[SugarColumn(ColumnDescription = "店铺名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeName { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺Logo
|
||||
/// </summary>
|
||||
[Display(Name = "店铺Logo")]
|
||||
[SugarColumn(ColumnDescription = "店铺Logo", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeLogo { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺Banner
|
||||
/// </summary>
|
||||
[Display(Name = "店铺Banner")]
|
||||
[SugarColumn(ColumnDescription = "店铺Banner", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeBanner { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺简介
|
||||
/// </summary>
|
||||
[Display(Name = "店铺简介")]
|
||||
[SugarColumn(ColumnDescription = "店铺简介", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeDesc { get; set; }
|
||||
/// <summary>
|
||||
/// 审核状态
|
||||
/// </summary>
|
||||
[Display(Name = "审核状态")]
|
||||
[SugarColumn(ColumnDescription = "审核状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 verifyStatus { 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 = "审核时间", IsNullable = true)]
|
||||
public System.DateTime? verifyTime { get; set; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDelete { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionCondition",TableDescription = "分销商等级升级条件")]
|
||||
public partial class CoreCmsDistributionCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商等级升级条件
|
||||
/// </summary>
|
||||
public CoreCmsDistributionCondition()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 gradeId { 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(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String parameters { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsDistributionCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// Code转码
|
||||
/// </summary>
|
||||
[Display(Name = "Code转码")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionGrade",TableDescription = "分销商等级设置表")]
|
||||
public partial class CoreCmsDistributionGrade
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商等级设置表
|
||||
/// </summary>
|
||||
public CoreCmsDistributionGrade()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 name { 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.Boolean isAutoUpGrade { get; set; }
|
||||
/// <summary>
|
||||
/// 等级排序
|
||||
/// </summary>
|
||||
[Display(Name = "等级排序")]
|
||||
[SugarColumn(ColumnDescription = "等级排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sortId { get; set; }
|
||||
/// <summary>
|
||||
/// 等级说明
|
||||
/// </summary>
|
||||
[Display(Name = "等级说明")]
|
||||
[SugarColumn(ColumnDescription = "等级说明", IsNullable = true)]
|
||||
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String description { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionOrder",TableDescription = "分销商订单记录表")]
|
||||
public partial class CoreCmsDistributionOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商订单记录表
|
||||
/// </summary>
|
||||
public CoreCmsDistributionOrder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 下单用户id
|
||||
/// </summary>
|
||||
[Display(Name = "下单用户id")]
|
||||
[SugarColumn(ColumnDescription = "下单用户id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 buyUserId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
[Display(Name = "订单编号")]
|
||||
[SugarColumn(ColumnDescription = "订单编号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 结算金额
|
||||
/// </summary>
|
||||
[Display(Name = "结算金额")]
|
||||
[SugarColumn(ColumnDescription = "结算金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal amount { get; set; }
|
||||
/// <summary>
|
||||
/// 是否结算
|
||||
/// </summary>
|
||||
[Display(Name = "是否结算")]
|
||||
[SugarColumn(ColumnDescription = "是否结算")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 isSettlement { get; set; }
|
||||
/// <summary>
|
||||
/// 层级
|
||||
/// </summary>
|
||||
[Display(Name = "层级")]
|
||||
[SugarColumn(ColumnDescription = "层级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 level { 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.Boolean isDelete { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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 CoreCmsDistributionOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 购买人昵称
|
||||
/// </summary>
|
||||
[Display(Name = "购买人昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string buyUserNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分销商
|
||||
/// </summary>
|
||||
[Display(Name = "分销商")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string distributorName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsDistribution
|
||||
{
|
||||
/// <summary>
|
||||
/// 总金额
|
||||
/// </summary>
|
||||
[Display(Name = "总金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal TotalSettlementAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 已结算金额
|
||||
/// </summary>
|
||||
[Display(Name = "已结算金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal SettlementAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 冻结金额
|
||||
/// </summary>
|
||||
[Display(Name = "冻结金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal FreezeAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 本月订单数
|
||||
/// </summary>
|
||||
[Display(Name = "本月订单数")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int CurrentMonthOrder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日收益
|
||||
/// </summary>
|
||||
[Display(Name = "今日收益")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal TodayFreezeAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日订单
|
||||
/// </summary>
|
||||
[Display(Name = "今日订单")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TodayOrder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日会员
|
||||
/// </summary>
|
||||
[Display(Name = "今日会员")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TodayUser { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 上架商品数量
|
||||
/// </summary>
|
||||
[Display(Name = "上架商品数量")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TotalGoods { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 所属等级名称
|
||||
/// </summary>
|
||||
[Display(Name = "所属等级名称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string GradeName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 是否需要申请
|
||||
/// </summary>
|
||||
[Display(Name = "是否需要申请")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool NeedApply { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 条件说明
|
||||
/// </summary>
|
||||
[Display(Name = "条件说明")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ConditionMsg { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 升级条件状态
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件状态")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool ConditionStatus { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 升级条件进度
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件进度")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int ConditionProgress { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店铺查询交互数据
|
||||
/// </summary>
|
||||
[Display(Name = "店铺查询交互数据")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string Store { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionResult",TableDescription = "等级佣金表")]
|
||||
public partial class CoreCmsDistributionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 等级佣金表
|
||||
/// </summary>
|
||||
public CoreCmsDistributionResult()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 gradeId { 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)]
|
||||
public System.String parameters { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user