You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
2.0 KiB
113 lines
2.0 KiB
3 years ago
|
using System;
|
||
|
using System.Xml.Serialization;
|
||
|
using System.Collections.Generic;
|
||
|
using Newtonsoft.Json;
|
||
|
using Jd.Api.Domain;
|
||
|
namespace Jd.Api.Domain
|
||
|
{
|
||
|
|
||
|
[Serializable]
|
||
|
public class FreeCoupon:JdObject{
|
||
|
[JsonProperty("activityStartTime")]
|
||
|
public DateTime
|
||
|
|
||
|
activityStartTime
|
||
|
{ get; set; }
|
||
|
[JsonProperty("activityEndTime")]
|
||
|
public DateTime
|
||
|
|
||
|
activityEndTime
|
||
|
{ get; set; }
|
||
|
[JsonProperty("prizeType")]
|
||
|
public int
|
||
|
|
||
|
prizeType
|
||
|
{ get; set; }
|
||
|
[JsonProperty("key")]
|
||
|
public string
|
||
|
|
||
|
key
|
||
|
{ get; set; }
|
||
|
[JsonProperty("roleId")]
|
||
|
public string
|
||
|
|
||
|
roleId
|
||
|
{ get; set; }
|
||
|
[JsonProperty("discount")]
|
||
|
public double
|
||
|
|
||
|
discount
|
||
|
{ get; set; }
|
||
|
[JsonProperty("quota")]
|
||
|
public double
|
||
|
|
||
|
quota
|
||
|
{ get; set; }
|
||
|
[JsonProperty("batchId")]
|
||
|
public long
|
||
|
|
||
|
batchId
|
||
|
{ get; set; }
|
||
|
[JsonProperty("isSelf")]
|
||
|
public bool
|
||
|
|
||
|
isSelf
|
||
|
{ get; set; }
|
||
|
[JsonProperty("couponType")]
|
||
|
public int
|
||
|
|
||
|
couponType
|
||
|
{ get; set; }
|
||
|
[JsonProperty("addDays")]
|
||
|
public int
|
||
|
|
||
|
addDays
|
||
|
{ get; set; }
|
||
|
[JsonProperty("batchCount")]
|
||
|
public int
|
||
|
|
||
|
batchCount
|
||
|
{ get; set; }
|
||
|
[JsonProperty("usedCount")]
|
||
|
public int
|
||
|
|
||
|
usedCount
|
||
|
{ get; set; }
|
||
|
[JsonProperty("sendCount")]
|
||
|
public int
|
||
|
|
||
|
sendCount
|
||
|
{ get; set; }
|
||
|
[JsonProperty("remainderCount")]
|
||
|
public int
|
||
|
|
||
|
remainderCount
|
||
|
{ get; set; }
|
||
|
[JsonProperty("batchKey")]
|
||
|
public string
|
||
|
|
||
|
batchKey
|
||
|
{ get; set; }
|
||
|
[JsonProperty("expireType")]
|
||
|
public int
|
||
|
|
||
|
expireType
|
||
|
{ get; set; }
|
||
|
[JsonProperty("beginTime")]
|
||
|
public DateTime
|
||
|
|
||
|
beginTime
|
||
|
{ get; set; }
|
||
|
[JsonProperty("endTime")]
|
||
|
public DateTime
|
||
|
|
||
|
endTime
|
||
|
{ get; set; }
|
||
|
[JsonProperty("riskLevel")]
|
||
|
public int
|
||
|
|
||
|
riskLevel
|
||
|
{ get; set; }
|
||
|
}
|
||
|
}
|