Authored by Lixiaodi

增加字段

1 package com.yoho.order.model; 1 package com.yoho.order.model;
2 2
  3 +import lombok.Data;
  4 +import lombok.ToString;
  5 +
3 import java.math.BigDecimal; 6 import java.math.BigDecimal;
4 7
  8 +@Data
  9 +@ToString
5 public class RefundRecord { 10 public class RefundRecord {
6 private Integer id; 11 private Integer id;
7 12
@@ -37,139 +42,6 @@ public class RefundRecord { @@ -37,139 +42,6 @@ public class RefundRecord {
37 42
38 private Boolean delFlag; 43 private Boolean delFlag;
39 44
40 - public Integer getId() {  
41 - return id;  
42 - }  
43 -  
44 - public void setId(Integer id) {  
45 - this.id = id;  
46 - }  
47 -  
48 - public Integer getCreateDate() {  
49 - return createDate;  
50 - }  
51 -  
52 - public void setCreateDate(Integer createDate) {  
53 - this.createDate = createDate;  
54 - }  
55 -  
56 - public Integer getOrderCode() {  
57 - return orderCode;  
58 - }  
59 -  
60 - public void setOrderCode(Integer orderCode) {  
61 - this.orderCode = orderCode;  
62 - }  
63 -  
64 - public Integer getUid() {  
65 - return uid;  
66 - }  
67 -  
68 - public void setUid(Integer uid) {  
69 - this.uid = uid;  
70 - }  
71 -  
72 - public String getRefundDesc() {  
73 - return refundDesc;  
74 - }  
75 -  
76 - public void setRefundDesc(String refundDesc) {  
77 - this.refundDesc = refundDesc == null ? null : refundDesc.trim();  
78 - }  
79 -  
80 - public Byte getRefundType() {  
81 - return refundType;  
82 - }  
83 -  
84 - public void setRefundType(Byte refundType) {  
85 - this.refundType = refundType;  
86 - }  
87 -  
88 - public BigDecimal getRefundAmount() {  
89 - return refundAmount;  
90 - }  
91 -  
92 - public void setRefundAmount(BigDecimal refundAmount) {  
93 - this.refundAmount = refundAmount;  
94 - }  
95 -  
96 - public Byte getRefundChannel() {  
97 - return refundChannel;  
98 - }  
99 -  
100 - public void setRefundChannel(Byte refundChannel) {  
101 - this.refundChannel = refundChannel;  
102 - }  
103 -  
104 - public String getPayeeName() {  
105 - return payeeName;  
106 - }  
107 -  
108 - public void setPayeeName(String payeeName) {  
109 - this.payeeName = payeeName == null ? null : payeeName.trim();  
110 - }  
111 -  
112 - public String getPayeeAccount() {  
113 - return payeeAccount;  
114 - }  
115 -  
116 - public void setPayeeAccount(String payeeAccount) {  
117 - this.payeeAccount = payeeAccount == null ? null : payeeAccount.trim();  
118 - }  
119 -  
120 - public Byte getRefundStatus() {  
121 - return refundStatus;  
122 - }  
123 -  
124 - public void setRefundStatus(Byte refundStatus) {  
125 - this.refundStatus = refundStatus;  
126 - }  
127 -  
128 - public String getGoodsName() {  
129 - return goodsName;  
130 - }  
131 -  
132 - public void setGoodsName(String goodsName) {  
133 - this.goodsName = goodsName == null ? null : goodsName.trim();  
134 - }  
135 -  
136 - public String getGoodsSize() {  
137 - return goodsSize;  
138 - }  
139 -  
140 - public void setGoodsSize(String goodsSize) {  
141 - this.goodsSize = goodsSize == null ? null : goodsSize.trim();  
142 - }  
143 -  
144 - public String getRefundAddress() {  
145 - return refundAddress;  
146 - }  
147 -  
148 - public void setRefundAddress(String refundAddress) {  
149 - this.refundAddress = refundAddress == null ? null : refundAddress.trim();  
150 - }  
151 -  
152 - public String getOperatorName() {  
153 - return operatorName;  
154 - }  
155 -  
156 - public void setOperatorName(String operatorName) {  
157 - this.operatorName = operatorName == null ? null : operatorName.trim();  
158 - }  
159 -  
160 - public String getRemark() {  
161 - return remark;  
162 - }  
163 -  
164 - public void setRemark(String remark) {  
165 - this.remark = remark == null ? null : remark.trim();  
166 - }  
167 -  
168 - public Boolean getDelFlag() {  
169 - return delFlag;  
170 - } 45 + private String sponsorName;
171 46
172 - public void setDelFlag(Boolean delFlag) {  
173 - this.delFlag = delFlag;  
174 - }  
175 } 47 }
@@ -17,13 +17,15 @@ @@ -17,13 +17,15 @@
17 <result column="goods_size" property="goodsSize" jdbcType="VARCHAR" /> 17 <result column="goods_size" property="goodsSize" jdbcType="VARCHAR" />
18 <result column="refund_address" property="refundAddress" jdbcType="VARCHAR" /> 18 <result column="refund_address" property="refundAddress" jdbcType="VARCHAR" />
19 <result column="operator_name" property="operatorName" jdbcType="VARCHAR" /> 19 <result column="operator_name" property="operatorName" jdbcType="VARCHAR" />
  20 + <result column="sponsor_name" property="sponsorName" jdbcType="VARCHAR" />
20 <result column="remark" property="remark" jdbcType="VARCHAR" /> 21 <result column="remark" property="remark" jdbcType="VARCHAR" />
21 <result column="del_flag" property="delFlag" jdbcType="BIT" /> 22 <result column="del_flag" property="delFlag" jdbcType="BIT" />
  23 +
22 </resultMap> 24 </resultMap>
23 <sql id="Base_Column_List" > 25 <sql id="Base_Column_List" >
24 id, create_date, order_code, uid, refund_desc, refund_type, refund_amount, refund_channel, 26 id, create_date, order_code, uid, refund_desc, refund_type, refund_amount, refund_channel,
25 payee_name, payee_account, refund_status, goods_name, goods_size, refund_address, 27 payee_name, payee_account, refund_status, goods_name, goods_size, refund_address,
26 - operator_name, remark, del_flag 28 + operator_name, remark, del_flag,sponsor_name
27 </sql> 29 </sql>
28 <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" > 30 <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
29 select 31 select