杂七杂八
作者:互联网
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; }
}
}
标签:set,get,杂七杂八,public,int,Id,ID 来源: https://www.cnblogs.com/lvqianqian/p/10857893.html