管理组管理增加控制普通管理组的文章和商品权限,文章、商品操作增加权限判断
This commit is contained in:
+72
-133
@@ -1,6 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Web.Script.Serialization;
|
||||
using System.Xml.Serialization;
|
||||
using XCode;
|
||||
using XCode.Configuration;
|
||||
using XCode.DataAccessLayer;
|
||||
@@ -12,7 +15,7 @@ namespace COMCMS.Core
|
||||
[DataObject]
|
||||
[Description("用户角色")]
|
||||
[BindTable("MemberRoles", Description = "用户角色", ConnName = "dbconn", DbType = DatabaseType.SqlServer)]
|
||||
public partial class MemberRoles : IMemberRoles
|
||||
public partial class MemberRoles
|
||||
{
|
||||
#region 属性
|
||||
private Int32 _Id;
|
||||
@@ -21,7 +24,7 @@ namespace COMCMS.Core
|
||||
[Description("编号")]
|
||||
[DataObjectField(true, true, false, 0)]
|
||||
[BindColumn("Id", "编号", "")]
|
||||
public Int32 Id { get => _Id; set { if (OnPropertyChanging(__.Id, value)) { _Id = value; OnPropertyChanged(__.Id); } } }
|
||||
public Int32 Id { get => _Id; set { if (OnPropertyChanging("Id", value)) { _Id = value; OnPropertyChanged("Id"); } } }
|
||||
|
||||
private String _RoleName;
|
||||
/// <summary>角色名称</summary>
|
||||
@@ -29,7 +32,7 @@ namespace COMCMS.Core
|
||||
[Description("角色名称")]
|
||||
[DataObjectField(false, false, true, 50)]
|
||||
[BindColumn("RoleName", "角色名称", "", Master = true)]
|
||||
public String RoleName { get => _RoleName; set { if (OnPropertyChanging(__.RoleName, value)) { _RoleName = value; OnPropertyChanged(__.RoleName); } } }
|
||||
public String RoleName { get => _RoleName; set { if (OnPropertyChanging("RoleName", value)) { _RoleName = value; OnPropertyChanged("RoleName"); } } }
|
||||
|
||||
private String _RoleDescription;
|
||||
/// <summary>角色简单介绍</summary>
|
||||
@@ -37,7 +40,7 @@ namespace COMCMS.Core
|
||||
[Description("角色简单介绍")]
|
||||
[DataObjectField(false, false, true, 250)]
|
||||
[BindColumn("RoleDescription", "角色简单介绍", "", Master = true)]
|
||||
public String RoleDescription { get => _RoleDescription; set { if (OnPropertyChanging(__.RoleDescription, value)) { _RoleDescription = value; OnPropertyChanged(__.RoleDescription); } } }
|
||||
public String RoleDescription { get => _RoleDescription; set { if (OnPropertyChanging("RoleDescription", value)) { _RoleDescription = value; OnPropertyChanged("RoleDescription"); } } }
|
||||
|
||||
private Int32 _Stars;
|
||||
/// <summary>星级</summary>
|
||||
@@ -45,7 +48,7 @@ namespace COMCMS.Core
|
||||
[Description("星级")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("Stars", "星级", "")]
|
||||
public Int32 Stars { get => _Stars; set { if (OnPropertyChanging(__.Stars, value)) { _Stars = value; OnPropertyChanged(__.Stars); } } }
|
||||
public Int32 Stars { get => _Stars; set { if (OnPropertyChanging("Stars", value)) { _Stars = value; OnPropertyChanged("Stars"); } } }
|
||||
|
||||
private Int32 _NotAllowDel;
|
||||
/// <summary>是否不允许删除</summary>
|
||||
@@ -53,7 +56,7 @@ namespace COMCMS.Core
|
||||
[Description("是否不允许删除")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("NotAllowDel", "是否不允许删除", "")]
|
||||
public Int32 NotAllowDel { get => _NotAllowDel; set { if (OnPropertyChanging(__.NotAllowDel, value)) { _NotAllowDel = value; OnPropertyChanged(__.NotAllowDel); } } }
|
||||
public Int32 NotAllowDel { get => _NotAllowDel; set { if (OnPropertyChanging("NotAllowDel", value)) { _NotAllowDel = value; OnPropertyChanged("NotAllowDel"); } } }
|
||||
|
||||
private Int32 _Rank;
|
||||
/// <summary>排序</summary>
|
||||
@@ -61,7 +64,7 @@ namespace COMCMS.Core
|
||||
[Description("排序")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("Rank", "排序", "")]
|
||||
public Int32 Rank { get => _Rank; set { if (OnPropertyChanging(__.Rank, value)) { _Rank = value; OnPropertyChanged(__.Rank); } } }
|
||||
public Int32 Rank { get => _Rank; set { if (OnPropertyChanging("Rank", value)) { _Rank = value; OnPropertyChanged("Rank"); } } }
|
||||
|
||||
private String _Color;
|
||||
/// <summary>颜色</summary>
|
||||
@@ -69,7 +72,7 @@ namespace COMCMS.Core
|
||||
[Description("颜色")]
|
||||
[DataObjectField(false, false, true, 20)]
|
||||
[BindColumn("Color", "颜色", "", Master = true)]
|
||||
public String Color { get => _Color; set { if (OnPropertyChanging(__.Color, value)) { _Color = value; OnPropertyChanged(__.Color); } } }
|
||||
public String Color { get => _Color; set { if (OnPropertyChanging("Color", value)) { _Color = value; OnPropertyChanged("Color"); } } }
|
||||
|
||||
private Decimal _CashBack;
|
||||
/// <summary>返现百分比</summary>
|
||||
@@ -77,7 +80,7 @@ namespace COMCMS.Core
|
||||
[Description("返现百分比")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("CashBack", "返现百分比", "")]
|
||||
public Decimal CashBack { get => _CashBack; set { if (OnPropertyChanging(__.CashBack, value)) { _CashBack = value; OnPropertyChanged(__.CashBack); } } }
|
||||
public Decimal CashBack { get => _CashBack; set { if (OnPropertyChanging("CashBack", value)) { _CashBack = value; OnPropertyChanged("CashBack"); } } }
|
||||
|
||||
private Decimal _ParentCashBack;
|
||||
/// <summary>父级返现百分比</summary>
|
||||
@@ -85,7 +88,7 @@ namespace COMCMS.Core
|
||||
[Description("父级返现百分比")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("ParentCashBack", "父级返现百分比", "")]
|
||||
public Decimal ParentCashBack { get => _ParentCashBack; set { if (OnPropertyChanging(__.ParentCashBack, value)) { _ParentCashBack = value; OnPropertyChanged(__.ParentCashBack); } } }
|
||||
public Decimal ParentCashBack { get => _ParentCashBack; set { if (OnPropertyChanging("ParentCashBack", value)) { _ParentCashBack = value; OnPropertyChanged("ParentCashBack"); } } }
|
||||
|
||||
private Decimal _GrandfatherCashBack;
|
||||
/// <summary>爷级返现百分比</summary>
|
||||
@@ -93,7 +96,7 @@ namespace COMCMS.Core
|
||||
[Description("爷级返现百分比")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("GrandfatherCashBack", "爷级返现百分比", "")]
|
||||
public Decimal GrandfatherCashBack { get => _GrandfatherCashBack; set { if (OnPropertyChanging(__.GrandfatherCashBack, value)) { _GrandfatherCashBack = value; OnPropertyChanged(__.GrandfatherCashBack); } } }
|
||||
public Decimal GrandfatherCashBack { get => _GrandfatherCashBack; set { if (OnPropertyChanging("GrandfatherCashBack", value)) { _GrandfatherCashBack = value; OnPropertyChanged("GrandfatherCashBack"); } } }
|
||||
|
||||
private Int32 _IsDefault;
|
||||
/// <summary>是否是默认角色</summary>
|
||||
@@ -101,7 +104,7 @@ namespace COMCMS.Core
|
||||
[Description("是否是默认角色")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("IsDefault", "是否是默认角色", "")]
|
||||
public Int32 IsDefault { get => _IsDefault; set { if (OnPropertyChanging(__.IsDefault, value)) { _IsDefault = value; OnPropertyChanged(__.IsDefault); } } }
|
||||
public Int32 IsDefault { get => _IsDefault; set { if (OnPropertyChanging("IsDefault", value)) { _IsDefault = value; OnPropertyChanged("IsDefault"); } } }
|
||||
|
||||
private Int32 _IsHalved;
|
||||
/// <summary>超过级别是否减半</summary>
|
||||
@@ -109,7 +112,7 @@ namespace COMCMS.Core
|
||||
[Description("超过级别是否减半")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("IsHalved", "超过级别是否减半", "")]
|
||||
public Int32 IsHalved { get => _IsHalved; set { if (OnPropertyChanging(__.IsHalved, value)) { _IsHalved = value; OnPropertyChanged(__.IsHalved); } } }
|
||||
public Int32 IsHalved { get => _IsHalved; set { if (OnPropertyChanging("IsHalved", value)) { _IsHalved = value; OnPropertyChanged("IsHalved"); } } }
|
||||
|
||||
private Decimal _HalvedParentCashBack;
|
||||
/// <summary>超过级别父级返现百分比</summary>
|
||||
@@ -117,7 +120,7 @@ namespace COMCMS.Core
|
||||
[Description("超过级别父级返现百分比")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("HalvedParentCashBack", "超过级别父级返现百分比", "")]
|
||||
public Decimal HalvedParentCashBack { get => _HalvedParentCashBack; set { if (OnPropertyChanging(__.HalvedParentCashBack, value)) { _HalvedParentCashBack = value; OnPropertyChanged(__.HalvedParentCashBack); } } }
|
||||
public Decimal HalvedParentCashBack { get => _HalvedParentCashBack; set { if (OnPropertyChanging("HalvedParentCashBack", value)) { _HalvedParentCashBack = value; OnPropertyChanged("HalvedParentCashBack"); } } }
|
||||
|
||||
private Decimal _HalvedGrandfatherCashBack;
|
||||
/// <summary>超过级别爷级返现百分比</summary>
|
||||
@@ -125,7 +128,7 @@ namespace COMCMS.Core
|
||||
[Description("超过级别爷级返现百分比")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("HalvedGrandfatherCashBack", "超过级别爷级返现百分比", "")]
|
||||
public Decimal HalvedGrandfatherCashBack { get => _HalvedGrandfatherCashBack; set { if (OnPropertyChanging(__.HalvedGrandfatherCashBack, value)) { _HalvedGrandfatherCashBack = value; OnPropertyChanged(__.HalvedGrandfatherCashBack); } } }
|
||||
public Decimal HalvedGrandfatherCashBack { get => _HalvedGrandfatherCashBack; set { if (OnPropertyChanging("HalvedGrandfatherCashBack", value)) { _HalvedGrandfatherCashBack = value; OnPropertyChanged("HalvedGrandfatherCashBack"); } } }
|
||||
|
||||
private Decimal _YearsPerformance;
|
||||
/// <summary>年业务量</summary>
|
||||
@@ -133,7 +136,7 @@ namespace COMCMS.Core
|
||||
[Description("年业务量")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("YearsPerformance", "年业务量", "")]
|
||||
public Decimal YearsPerformance { get => _YearsPerformance; set { if (OnPropertyChanging(__.YearsPerformance, value)) { _YearsPerformance = value; OnPropertyChanged(__.YearsPerformance); } } }
|
||||
public Decimal YearsPerformance { get => _YearsPerformance; set { if (OnPropertyChanging("YearsPerformance", value)) { _YearsPerformance = value; OnPropertyChanged("YearsPerformance"); } } }
|
||||
|
||||
private Int32 _IsSellers;
|
||||
/// <summary>是否是分销商</summary>
|
||||
@@ -141,7 +144,7 @@ namespace COMCMS.Core
|
||||
[Description("是否是分销商")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("IsSellers", "是否是分销商", "")]
|
||||
public Int32 IsSellers { get => _IsSellers; set { if (OnPropertyChanging(__.IsSellers, value)) { _IsSellers = value; OnPropertyChanged(__.IsSellers); } } }
|
||||
public Int32 IsSellers { get => _IsSellers; set { if (OnPropertyChanging("IsSellers", value)) { _IsSellers = value; OnPropertyChanged("IsSellers"); } } }
|
||||
|
||||
private Decimal _JoinPrice;
|
||||
/// <summary>加入分销商价格</summary>
|
||||
@@ -149,7 +152,7 @@ namespace COMCMS.Core
|
||||
[Description("加入分销商价格")]
|
||||
[DataObjectField(false, false, false, 0)]
|
||||
[BindColumn("JoinPrice", "加入分销商价格", "")]
|
||||
public Decimal JoinPrice { get => _JoinPrice; set { if (OnPropertyChanging(__.JoinPrice, value)) { _JoinPrice = value; OnPropertyChanged(__.JoinPrice); } } }
|
||||
public Decimal JoinPrice { get => _JoinPrice; set { if (OnPropertyChanging("JoinPrice", value)) { _JoinPrice = value; OnPropertyChanged("JoinPrice"); } } }
|
||||
#endregion
|
||||
|
||||
#region 获取/设置 字段值
|
||||
@@ -162,23 +165,23 @@ namespace COMCMS.Core
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case __.Id: return _Id;
|
||||
case __.RoleName: return _RoleName;
|
||||
case __.RoleDescription: return _RoleDescription;
|
||||
case __.Stars: return _Stars;
|
||||
case __.NotAllowDel: return _NotAllowDel;
|
||||
case __.Rank: return _Rank;
|
||||
case __.Color: return _Color;
|
||||
case __.CashBack: return _CashBack;
|
||||
case __.ParentCashBack: return _ParentCashBack;
|
||||
case __.GrandfatherCashBack: return _GrandfatherCashBack;
|
||||
case __.IsDefault: return _IsDefault;
|
||||
case __.IsHalved: return _IsHalved;
|
||||
case __.HalvedParentCashBack: return _HalvedParentCashBack;
|
||||
case __.HalvedGrandfatherCashBack: return _HalvedGrandfatherCashBack;
|
||||
case __.YearsPerformance: return _YearsPerformance;
|
||||
case __.IsSellers: return _IsSellers;
|
||||
case __.JoinPrice: return _JoinPrice;
|
||||
case "Id": return _Id;
|
||||
case "RoleName": return _RoleName;
|
||||
case "RoleDescription": return _RoleDescription;
|
||||
case "Stars": return _Stars;
|
||||
case "NotAllowDel": return _NotAllowDel;
|
||||
case "Rank": return _Rank;
|
||||
case "Color": return _Color;
|
||||
case "CashBack": return _CashBack;
|
||||
case "ParentCashBack": return _ParentCashBack;
|
||||
case "GrandfatherCashBack": return _GrandfatherCashBack;
|
||||
case "IsDefault": return _IsDefault;
|
||||
case "IsHalved": return _IsHalved;
|
||||
case "HalvedParentCashBack": return _HalvedParentCashBack;
|
||||
case "HalvedGrandfatherCashBack": return _HalvedGrandfatherCashBack;
|
||||
case "YearsPerformance": return _YearsPerformance;
|
||||
case "IsSellers": return _IsSellers;
|
||||
case "JoinPrice": return _JoinPrice;
|
||||
default: return base[name];
|
||||
}
|
||||
}
|
||||
@@ -186,23 +189,23 @@ namespace COMCMS.Core
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case __.Id: _Id = value.ToInt(); break;
|
||||
case __.RoleName: _RoleName = Convert.ToString(value); break;
|
||||
case __.RoleDescription: _RoleDescription = Convert.ToString(value); break;
|
||||
case __.Stars: _Stars = value.ToInt(); break;
|
||||
case __.NotAllowDel: _NotAllowDel = value.ToInt(); break;
|
||||
case __.Rank: _Rank = value.ToInt(); break;
|
||||
case __.Color: _Color = Convert.ToString(value); break;
|
||||
case __.CashBack: _CashBack = Convert.ToDecimal(value); break;
|
||||
case __.ParentCashBack: _ParentCashBack = Convert.ToDecimal(value); break;
|
||||
case __.GrandfatherCashBack: _GrandfatherCashBack = Convert.ToDecimal(value); break;
|
||||
case __.IsDefault: _IsDefault = value.ToInt(); break;
|
||||
case __.IsHalved: _IsHalved = value.ToInt(); break;
|
||||
case __.HalvedParentCashBack: _HalvedParentCashBack = Convert.ToDecimal(value); break;
|
||||
case __.HalvedGrandfatherCashBack: _HalvedGrandfatherCashBack = Convert.ToDecimal(value); break;
|
||||
case __.YearsPerformance: _YearsPerformance = Convert.ToDecimal(value); break;
|
||||
case __.IsSellers: _IsSellers = value.ToInt(); break;
|
||||
case __.JoinPrice: _JoinPrice = Convert.ToDecimal(value); break;
|
||||
case "Id": _Id = value.ToInt(); break;
|
||||
case "RoleName": _RoleName = Convert.ToString(value); break;
|
||||
case "RoleDescription": _RoleDescription = Convert.ToString(value); break;
|
||||
case "Stars": _Stars = value.ToInt(); break;
|
||||
case "NotAllowDel": _NotAllowDel = value.ToInt(); break;
|
||||
case "Rank": _Rank = value.ToInt(); break;
|
||||
case "Color": _Color = Convert.ToString(value); break;
|
||||
case "CashBack": _CashBack = Convert.ToDecimal(value); break;
|
||||
case "ParentCashBack": _ParentCashBack = Convert.ToDecimal(value); break;
|
||||
case "GrandfatherCashBack": _GrandfatherCashBack = Convert.ToDecimal(value); break;
|
||||
case "IsDefault": _IsDefault = value.ToInt(); break;
|
||||
case "IsHalved": _IsHalved = value.ToInt(); break;
|
||||
case "HalvedParentCashBack": _HalvedParentCashBack = Convert.ToDecimal(value); break;
|
||||
case "HalvedGrandfatherCashBack": _HalvedGrandfatherCashBack = Convert.ToDecimal(value); break;
|
||||
case "YearsPerformance": _YearsPerformance = Convert.ToDecimal(value); break;
|
||||
case "IsSellers": _IsSellers = value.ToInt(); break;
|
||||
case "JoinPrice": _JoinPrice = Convert.ToDecimal(value); break;
|
||||
default: base[name] = value; break;
|
||||
}
|
||||
}
|
||||
@@ -214,55 +217,55 @@ namespace COMCMS.Core
|
||||
public partial class _
|
||||
{
|
||||
/// <summary>编号</summary>
|
||||
public static readonly Field Id = FindByName(__.Id);
|
||||
public static readonly Field Id = FindByName("Id");
|
||||
|
||||
/// <summary>角色名称</summary>
|
||||
public static readonly Field RoleName = FindByName(__.RoleName);
|
||||
public static readonly Field RoleName = FindByName("RoleName");
|
||||
|
||||
/// <summary>角色简单介绍</summary>
|
||||
public static readonly Field RoleDescription = FindByName(__.RoleDescription);
|
||||
public static readonly Field RoleDescription = FindByName("RoleDescription");
|
||||
|
||||
/// <summary>星级</summary>
|
||||
public static readonly Field Stars = FindByName(__.Stars);
|
||||
public static readonly Field Stars = FindByName("Stars");
|
||||
|
||||
/// <summary>是否不允许删除</summary>
|
||||
public static readonly Field NotAllowDel = FindByName(__.NotAllowDel);
|
||||
public static readonly Field NotAllowDel = FindByName("NotAllowDel");
|
||||
|
||||
/// <summary>排序</summary>
|
||||
public static readonly Field Rank = FindByName(__.Rank);
|
||||
public static readonly Field Rank = FindByName("Rank");
|
||||
|
||||
/// <summary>颜色</summary>
|
||||
public static readonly Field Color = FindByName(__.Color);
|
||||
public static readonly Field Color = FindByName("Color");
|
||||
|
||||
/// <summary>返现百分比</summary>
|
||||
public static readonly Field CashBack = FindByName(__.CashBack);
|
||||
public static readonly Field CashBack = FindByName("CashBack");
|
||||
|
||||
/// <summary>父级返现百分比</summary>
|
||||
public static readonly Field ParentCashBack = FindByName(__.ParentCashBack);
|
||||
public static readonly Field ParentCashBack = FindByName("ParentCashBack");
|
||||
|
||||
/// <summary>爷级返现百分比</summary>
|
||||
public static readonly Field GrandfatherCashBack = FindByName(__.GrandfatherCashBack);
|
||||
public static readonly Field GrandfatherCashBack = FindByName("GrandfatherCashBack");
|
||||
|
||||
/// <summary>是否是默认角色</summary>
|
||||
public static readonly Field IsDefault = FindByName(__.IsDefault);
|
||||
public static readonly Field IsDefault = FindByName("IsDefault");
|
||||
|
||||
/// <summary>超过级别是否减半</summary>
|
||||
public static readonly Field IsHalved = FindByName(__.IsHalved);
|
||||
public static readonly Field IsHalved = FindByName("IsHalved");
|
||||
|
||||
/// <summary>超过级别父级返现百分比</summary>
|
||||
public static readonly Field HalvedParentCashBack = FindByName(__.HalvedParentCashBack);
|
||||
public static readonly Field HalvedParentCashBack = FindByName("HalvedParentCashBack");
|
||||
|
||||
/// <summary>超过级别爷级返现百分比</summary>
|
||||
public static readonly Field HalvedGrandfatherCashBack = FindByName(__.HalvedGrandfatherCashBack);
|
||||
public static readonly Field HalvedGrandfatherCashBack = FindByName("HalvedGrandfatherCashBack");
|
||||
|
||||
/// <summary>年业务量</summary>
|
||||
public static readonly Field YearsPerformance = FindByName(__.YearsPerformance);
|
||||
public static readonly Field YearsPerformance = FindByName("YearsPerformance");
|
||||
|
||||
/// <summary>是否是分销商</summary>
|
||||
public static readonly Field IsSellers = FindByName(__.IsSellers);
|
||||
public static readonly Field IsSellers = FindByName("IsSellers");
|
||||
|
||||
/// <summary>加入分销商价格</summary>
|
||||
public static readonly Field JoinPrice = FindByName(__.JoinPrice);
|
||||
public static readonly Field JoinPrice = FindByName("JoinPrice");
|
||||
|
||||
static Field FindByName(String name) => Meta.Table.FindByName(name);
|
||||
}
|
||||
@@ -323,68 +326,4 @@ namespace COMCMS.Core
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
/// <summary>用户角色接口</summary>
|
||||
public partial interface IMemberRoles
|
||||
{
|
||||
#region 属性
|
||||
/// <summary>编号</summary>
|
||||
Int32 Id { get; set; }
|
||||
|
||||
/// <summary>角色名称</summary>
|
||||
String RoleName { get; set; }
|
||||
|
||||
/// <summary>角色简单介绍</summary>
|
||||
String RoleDescription { get; set; }
|
||||
|
||||
/// <summary>星级</summary>
|
||||
Int32 Stars { get; set; }
|
||||
|
||||
/// <summary>是否不允许删除</summary>
|
||||
Int32 NotAllowDel { get; set; }
|
||||
|
||||
/// <summary>排序</summary>
|
||||
Int32 Rank { get; set; }
|
||||
|
||||
/// <summary>颜色</summary>
|
||||
String Color { get; set; }
|
||||
|
||||
/// <summary>返现百分比</summary>
|
||||
Decimal CashBack { get; set; }
|
||||
|
||||
/// <summary>父级返现百分比</summary>
|
||||
Decimal ParentCashBack { get; set; }
|
||||
|
||||
/// <summary>爷级返现百分比</summary>
|
||||
Decimal GrandfatherCashBack { get; set; }
|
||||
|
||||
/// <summary>是否是默认角色</summary>
|
||||
Int32 IsDefault { get; set; }
|
||||
|
||||
/// <summary>超过级别是否减半</summary>
|
||||
Int32 IsHalved { get; set; }
|
||||
|
||||
/// <summary>超过级别父级返现百分比</summary>
|
||||
Decimal HalvedParentCashBack { get; set; }
|
||||
|
||||
/// <summary>超过级别爷级返现百分比</summary>
|
||||
Decimal HalvedGrandfatherCashBack { get; set; }
|
||||
|
||||
/// <summary>年业务量</summary>
|
||||
Decimal YearsPerformance { get; set; }
|
||||
|
||||
/// <summary>是否是分销商</summary>
|
||||
Int32 IsSellers { get; set; }
|
||||
|
||||
/// <summary>加入分销商价格</summary>
|
||||
Decimal JoinPrice { get; set; }
|
||||
#endregion
|
||||
|
||||
#region 获取/设置 字段值
|
||||
/// <summary>获取/设置 字段值</summary>
|
||||
/// <param name="name">字段名</param>
|
||||
/// <returns></returns>
|
||||
Object this[String name] { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user