Commit 5a33feb6 authored by 黄奎's avatar 黄奎

新增实体类

parent bc0aa01c
using System;
using VT.FW.DB;
namespace Mall.Model.Entity.Product
{
/// <summary>
/// 拼团活动商品关联分销佣金表实体
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_GroupBuy_Distributioncommission
{
/// <summary>
/// Id
/// </summary>
public int Id
{
get;
set;
}
/// <summary>
/// 商品id
/// </summary>
public int? GoodsId
{
get;
set;
}
/// <summary>
/// 规格排序组 逗号分隔每规格值
/// </summary>
public string SpecificationSort
{
get;
set;
}
/// <summary>
/// 分销商等级 0普通等级
/// </summary>
public int? DistributorGrade
{
get;
set;
}
/// <summary>
/// 一级佣金
/// </summary>
public decimal? OneCommission
{
get;
set;
}
/// <summary>
/// 二级佣金
/// </summary>
public decimal? TwoCommission
{
get;
set;
}
/// <summary>
/// 三级佣金
/// </summary>
public decimal? ThreeCommission
{
get;
set;
}
/// <summary>
/// Status
/// </summary>
public int? Status
{
get;
set;
}
/// <summary>
/// 商户号
/// </summary>
public int TenantId
{
get;
set;
}
/// <summary>
/// 小程序id
/// </summary>
public int MallBaseId
{
get;
set;
}
/// <summary>
/// CreateDate
/// </summary>
public DateTime? CreateDate
{
get;
set;
}
/// <summary>
/// UpdateDate
/// </summary>
public DateTime? UpdateDate
{
get;
set;
}
}
}
using VT.FW.DB;
using System;
namespace Mall.Model.Entity.Product
{
/// <summary>
/// 拼团活动商品关联会员价格表实体
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_Groupbuy_Memberprice
{
/// <summary>
/// Id
/// </summary>
public int Id
{
get;
set;
}
/// <summary>
/// 商品id
/// </summary>
public int? GoodsId
{
get;
set;
}
/// <summary>
/// 规格排序组 逗号分隔每规格值
/// </summary>
public string SpecificationSort
{
get;
set;
}
/// <summary>
/// 分销商等级 0普通等级
/// </summary>
public int? MemberGrade
{
get;
set;
}
/// <summary>
/// 会员价格
/// </summary>
public decimal? MemberPrice
{
get;
set;
}
/// <summary>
/// Status
/// </summary>
public int? Status
{
get;
set;
}
/// <summary>
/// 商户号
/// </summary>
public int TenantId
{
get;
set;
}
/// <summary>
/// 小程序id
/// </summary>
public int MallBaseId
{
get;
set;
}
/// <summary>
/// CreateDate
/// </summary>
public DateTime? CreateDate
{
get;
set;
}
/// <summary>
/// UpdateDate
/// </summary>
public DateTime? UpdateDate
{
get;
set;
}
}
}
\ No newline at end of file
using Mall.Model.Entity.Product;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;
namespace Mall.Model.Extend.Product
{
/// <summary>
/// 拼团活动商品关联分销佣金表扩展实体
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_GroupBuy_Distributioncommission_Extend : RB_GroupBuy_Distributioncommission
{
}
}
using Mall.Model.Entity.Product;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;
namespace Mall.Model.Extend.Product
{
/// <summary>
/// 拼团活动商品关联会员价格表扩展实体
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_Groupbuy_Memberprice_Extend : RB_Groupbuy_Memberprice
{
}
}
\ No newline at end of file
......@@ -26,7 +26,7 @@ namespace Mall.Module.User
{
Dictionary<string, object> fileds = new Dictionary<string, object>()
{
{ nameof(RB_Member_User_Extend.AliasName),extModel.AliasName},
{ nameof(RB_Member_User_Extend.Name),extModel.AliasName},
{ nameof(RB_Member_User_Extend.Photo),extModel.Photo},
};
return member_UserRepository.Update(fileds, new WhereHelper(nameof(RB_Member_User_Extend.Id), extModel.Id));
......
using Mall.Model.Entity.Product;
using Mall.Model.Extend.Product;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mall.Repository.Product
{
/// <summary>
/// 拼团活动商品关联分销佣金表仓储层
/// </summary>
public class RB_GroupBuy_DistributioncommissionRepository : BaseRepository<RB_GroupBuy_Distributioncommission>
{
/// <summary>
///
/// </summary>
/// <returns></returns>
public List<RB_GroupBuy_Distributioncommission_Extend> GetGroupBuyCommissionRepository()
{
return null;
}
}
}
using Mall.Model.Entity.Product;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mall.Repository.Product
{
/// <summary>
/// 拼团活动商品关联会员价格表仓储层
/// </summary>
public class RB_Groupbuy_MemberpriceRepository:BaseRepository<RB_Groupbuy_Memberprice>
{
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment