PointsDetailCreateRequest.java
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/*
* @(#)PointsDetailCreateRequest.java
*
* Copyright (c) 2014-2017 版权所有
* xiniunet. All rights reserved.
*
* This software is the confidential and proprietary
* information of xiniunet.
* ("Confidential Information"). You shall not disclose
* such Confidential Information and shall use it only
* in accordance with the terms of the contract agreement
* you entered into with xiniunet.
*/
package com.xiniunet.lecunstomization.request;
import com.xiniunet.framework.base.BaseRequest;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
/**
* 创建积分收支明细的请求.
* @author
*/
public class PointsDetailCreateRequest extends BaseRequest {
/**
* 会员ID
*
*/
@Length(min=0, max=100, message = "会员ID长度不合法")
private String memberId;
/**
* 变更时间
*
*/
private Date transactionTime;
/**
* 收支积分值
*
*/
private Integer transactionPoint;
/**
* 收支类型
*
*/
@Length(min=0, max=100, message = "收支类型长度不合法")
private String transactionType;
/**
* 当前余额
*
*/
private Integer balancePoint;
/**
* 描述
*
*/
private String summary;
public String getMemberId() {
return memberId;
}
public void setMemberId(String memberId) {
this.memberId = memberId;
}
public Date getTransactionTime() {
return transactionTime;
}
public void setTransactionTime(Date transactionTime) {
this.transactionTime = transactionTime;
}
public Integer getTransactionPoint() {
return transactionPoint;
}
public void setTransactionPoint(Integer transactionPoint) {
this.transactionPoint = transactionPoint;
}
public String getTransactionType() {
return transactionType;
}
public void setTransactionType(String transactionType) {
this.transactionType = transactionType;
}
public Integer getBalancePoint() {
return balancePoint;
}
public void setBalancePoint(Integer balancePoint) {
this.balancePoint = balancePoint;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
}