1 package org.oxerr.youzan.dto.ump; 2 3 import java.io.Serializable; 4 import java.time.Instant; 5 6 import org.oxerr.youzan.dto.deserializer.InstantDeserializer; 7 8 import com.fasterxml.jackson.annotation.JsonProperty; 9 import com.fasterxml.jackson.databind.annotation.JsonDeserialize; 10 11 public class UmpPromotionVerifylog implements Serializable { 12 13 private static final long serialVersionUID = 2016062601L; 14 15 private String verifyType; 16 private String condition; 17 private String groupId; 18 private String description; 19 private String tradeNo; 20 private Instant createdAt; 21 private String id; 22 private String verifyCode; 23 private String state; 24 private String title; 25 private String value; 26 private String adminNickname; 27 28 public UmpPromotionVerifylog() { 29 } 30 31 public UmpPromotionVerifylog( 32 @JsonProperty("verify_type") String verifyType, 33 @JsonProperty("condition") String condition, 34 @JsonProperty("group_id") String groupId, 35 @JsonProperty("description") String description, 36 @JsonProperty("trade_no") String tradeNo, 37 @JsonProperty("created_at") 38 @JsonDeserialize(using = InstantDeserializer.class) 39 Instant createdAt, 40 @JsonProperty("id") String id, 41 @JsonProperty("verify_code") String verifyCode, 42 @JsonProperty("state") String state, 43 @JsonProperty("title") String title, 44 @JsonProperty("value") String value, 45 @JsonProperty("admin_nickname") String adminNickname 46 ) { 47 this.verifyType = verifyType; 48 this.condition = condition; 49 this.groupId = groupId; 50 this.description = description; 51 this.tradeNo = tradeNo; 52 this.createdAt = createdAt; 53 this.id = id; 54 this.verifyCode = verifyCode; 55 this.state = state; 56 this.title = title; 57 this.value = value; 58 this.adminNickname = adminNickname; 59 } 60 61 public String getVerifyType() { 62 return verifyType; 63 } 64 65 public void setVerifyType(String verifyType) { 66 this.verifyType = verifyType; 67 } 68 69 public String getCondition() { 70 return condition; 71 } 72 73 public void setCondition(String condition) { 74 this.condition = condition; 75 } 76 77 public String getGroupId() { 78 return groupId; 79 } 80 81 public void setGroupId(String groupId) { 82 this.groupId = groupId; 83 } 84 85 public String getDescription() { 86 return description; 87 } 88 89 public void setDescription(String description) { 90 this.description = description; 91 } 92 93 public String getTradeNo() { 94 return tradeNo; 95 } 96 97 public void setTradeNo(String tradeNo) { 98 this.tradeNo = tradeNo; 99 } 100 101 public Instant getCreatedAt() { 102 return createdAt; 103 } 104 105 public void setCreatedAt(Instant createdAt) { 106 this.createdAt = createdAt; 107 } 108 109 public String getId() { 110 return id; 111 } 112 113 public void setId(String id) { 114 this.id = id; 115 } 116 117 public String getVerifyCode() { 118 return verifyCode; 119 } 120 121 public void setVerifyCode(String verifyCode) { 122 this.verifyCode = verifyCode; 123 } 124 125 public String getState() { 126 return state; 127 } 128 129 public void setState(String state) { 130 this.state = state; 131 } 132 133 public String getTitle() { 134 return title; 135 } 136 137 public void setTitle(String title) { 138 this.title = title; 139 } 140 141 public String getValue() { 142 return value; 143 } 144 145 public void setValue(String value) { 146 this.value = value; 147 } 148 149 public String getAdminNickname() { 150 return adminNickname; 151 } 152 153 public void setAdminNickname(String adminNickname) { 154 this.adminNickname = adminNickname; 155 } 156 157 }