标签:bsp size mod ons b2b lam summary 商品 request
namespace Rattan.ApiCode.Model.B2B { /// <summary> /// 创建日期:2017-09-01 /// 说 明:获取优惠券列表 - Request参数 /// </summary> public class GetCouponListRequestModel { /// <summary> /// 商家ID /// </summary> public int Consignor_Id { get; set; } /// <summary> /// 商品ID /// </summary> public string Product_Id { get; set; } /// <summary> /// 优惠券ID /// </summary> public long Coupon_Id { get; set; } /// <summary> /// 分页索引,从0开始 /// </summary> public int PageNumber { get; set; } /// <summary> /// 分页大小 /// </summary> public int PageSize { get; set; } /// <summary> /// 状态:已使用, 未使用, 已过期 /// </summary> [Display(Name = "状态")] public string Status { get; set; } /// <summary> /// 总价格 /// </summary> public List<CouponProductListModel> CouponProduct { get; set; } } public class CouponProductListModel { /// <summary> /// 总价 /// </summary> [Display(Name = "总价")] public decimal? TotalAmount { get; set; } /// <summary> /// 商品ID /// </summary> public string Product_Id { get; set; } } }
不想新建页面
namespace Rattan.ApiCode.Model.B2B{/// <summary>/// 创建日期:2017-09-01/// 说 明:获取优惠券列表 - Request参数/// </summary>public class GetCouponListRequestModel {/// <summary>/// 商家ID/// </summary>public int Consignor_Id { get; set; }/// <summary>/// 商品ID/// </summary>public string Product_Id { get; set; }
/// <summary>/// 优惠券ID/// </summary>public long Coupon_Id { get; set; }/// <summary>/// 分页索引,从0开始/// </summary>public int PageNumber { get; set; }/// <summary>/// 分页大小/// </summary>public int PageSize { get; set; }/// <summary>/// 状态:已使用, 未使用, 已过期/// </summary>[Display(Name = "状态")]public string Status { get; set; }/// <summary>/// 总价格/// </summary>public List<CouponProductListModel> CouponProduct { get; set; }
}public class CouponProductListModel{/// <summary>/// 总价/// </summary>[Display(Name = "总价")]public decimal? TotalAmount { get; set; }
/// <summary>/// 商品ID/// </summary>public string Product_Id { get; set; }
}
}
标签:bsp size mod ons b2b lam summary 商品 request
原文地址:https://www.cnblogs.com/lvqianqian/p/10857893.html