杂七杂八
Posted lvqianqian
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了杂七杂八相关的知识,希望对你有一定的参考价值。
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; }
}
}
以上是关于杂七杂八的主要内容,如果未能解决你的问题,请参考以下文章