Commit 648043a339a388e74829d40bcbf9fe17cc5de5ac
0 parents
myapp
Showing
28 changed files
with
4674 additions
and
0 deletions
Too many changes to show.
To preserve performance only 28 of 159 files are displayed.
.gitignore
0 → 100644
pom.xml
0 → 100644
1 | +++ a/pom.xml | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
5 | + <modelVersion>4.0.0</modelVersion> | ||
6 | + | ||
7 | + | ||
8 | + <groupId>com.dili.myapp</groupId> | ||
9 | + <artifactId>myapp</artifactId> | ||
10 | + <version>1.0.0-SNAPSHOT</version> | ||
11 | + <packaging>war</packaging> | ||
12 | + | ||
13 | + <name>myapp</name> | ||
14 | + <url>http://maven.apache.org</url> | ||
15 | + | ||
16 | + <properties> | ||
17 | + <compiler.version>1.7</compiler.version> | ||
18 | + <spring.version>4.2.8.RELEASE</spring.version> | ||
19 | + <spring-data-redis>1.7.4.RELEASE</spring-data-redis> | ||
20 | + <mybatis.version>3.2.8</mybatis.version> | ||
21 | + <junit.version>4.12</junit.version> | ||
22 | + <mybatis.spring.version>1.2.2</mybatis.spring.version> | ||
23 | + <mysql.connector.java.version>5.1.34</mysql.connector.java.version> | ||
24 | + <alibaba.druid.version>1.0.12</alibaba.druid.version> | ||
25 | + <commons.codec.version>1.9</commons.codec.version> | ||
26 | + <java.version>1.7</java.version> | ||
27 | + </properties> | ||
28 | + <dependencies> | ||
29 | + <dependency> | ||
30 | + <groupId>junit</groupId> | ||
31 | + <artifactId>junit</artifactId> | ||
32 | + <version>${junit.version}</version> | ||
33 | + <scope>test</scope> | ||
34 | + </dependency> | ||
35 | + | ||
36 | + | ||
37 | + <!-- spring --> | ||
38 | + <dependency> | ||
39 | + <groupId>org.springframework</groupId> | ||
40 | + <artifactId>spring-core</artifactId> | ||
41 | + <version>${spring.version}</version> | ||
42 | + </dependency> | ||
43 | + | ||
44 | + <dependency> | ||
45 | + <groupId>org.springframework</groupId> | ||
46 | + <artifactId>spring-beans</artifactId> | ||
47 | + <version>${spring.version}</version> | ||
48 | + </dependency> | ||
49 | + | ||
50 | + <dependency> | ||
51 | + <groupId>org.springframework</groupId> | ||
52 | + <artifactId>spring-context</artifactId> | ||
53 | + <version>${spring.version}</version> | ||
54 | + </dependency> | ||
55 | + | ||
56 | + <dependency> | ||
57 | + <groupId>org.springframework</groupId> | ||
58 | + <artifactId>spring-context-support</artifactId> | ||
59 | + <version>${spring.version}</version> | ||
60 | + </dependency> | ||
61 | + | ||
62 | + <dependency> | ||
63 | + <groupId>org.springframework</groupId> | ||
64 | + <artifactId>spring-tx</artifactId> | ||
65 | + <version>${spring.version}</version> | ||
66 | + </dependency> | ||
67 | + | ||
68 | + <dependency> | ||
69 | + <groupId>org.springframework</groupId> | ||
70 | + <artifactId>spring-web</artifactId> | ||
71 | + <version>${spring.version}</version> | ||
72 | + </dependency> | ||
73 | + | ||
74 | + <dependency> | ||
75 | + <groupId>org.springframework</groupId> | ||
76 | + <artifactId>spring-webmvc</artifactId> | ||
77 | + <version>${spring.version}</version> | ||
78 | + </dependency> | ||
79 | + | ||
80 | + <dependency> | ||
81 | + <groupId>org.springframework</groupId> | ||
82 | + <artifactId>spring-jdbc</artifactId> | ||
83 | + <version>${spring.version}</version> | ||
84 | + </dependency> | ||
85 | + | ||
86 | + <dependency> | ||
87 | + <groupId>org.springframework</groupId> | ||
88 | + <artifactId>spring-test</artifactId> | ||
89 | + <version>${spring.version}</version> | ||
90 | + <scope>test</scope> | ||
91 | + </dependency> | ||
92 | + | ||
93 | + <!-- redis & spring --> | ||
94 | + <dependency> | ||
95 | + <groupId>org.springframework.data</groupId> | ||
96 | + <artifactId>spring-data-redis</artifactId> | ||
97 | + <version>${spring-data-redis}</version> | ||
98 | + </dependency> | ||
99 | + <dependency> | ||
100 | + <groupId>redis.clients</groupId> | ||
101 | + <artifactId>jedis</artifactId> | ||
102 | + <version>2.9.0</version> | ||
103 | + </dependency> | ||
104 | + | ||
105 | + <dependency> | ||
106 | + <groupId>com.alibaba</groupId> | ||
107 | + <artifactId>fastjson</artifactId> | ||
108 | + <version>1.2.17</version> | ||
109 | + </dependency> | ||
110 | + <dependency> | ||
111 | + <groupId>javax.servlet</groupId> | ||
112 | + <artifactId>servlet-api</artifactId> | ||
113 | + <version>2.5</version> | ||
114 | + <scope>provided</scope> | ||
115 | + </dependency> | ||
116 | + | ||
117 | + <!-- 参数校验包 --> | ||
118 | + <dependency> | ||
119 | + <groupId>org.hibernate</groupId> | ||
120 | + <artifactId>hibernate-validator</artifactId> | ||
121 | + <version>5.2.4.Final</version> | ||
122 | + <exclusions> | ||
123 | + <exclusion> | ||
124 | + <groupId>com.fasterxml</groupId> | ||
125 | + <artifactId>classmate</artifactId> | ||
126 | + </exclusion> | ||
127 | + </exclusions> | ||
128 | + </dependency> | ||
129 | + | ||
130 | + <!-- mybatis 包 --> | ||
131 | + <dependency> | ||
132 | + <groupId>org.mybatis</groupId> | ||
133 | + <artifactId>mybatis</artifactId> | ||
134 | + <version>${mybatis.version}</version> | ||
135 | + </dependency> | ||
136 | + | ||
137 | + <!--mybatis spring 插件 --> | ||
138 | + <dependency> | ||
139 | + <groupId>org.mybatis</groupId> | ||
140 | + <artifactId>mybatis-spring</artifactId> | ||
141 | + <version>${mybatis.spring.version}</version> | ||
142 | + </dependency> | ||
143 | + | ||
144 | + <!-- mysql连接 --> | ||
145 | + <dependency> | ||
146 | + <groupId>mysql</groupId> | ||
147 | + <artifactId>mysql-connector-java</artifactId> | ||
148 | + <version>${mysql.connector.java.version}</version> | ||
149 | + </dependency> | ||
150 | + | ||
151 | + <!-- 数据源 --> | ||
152 | + <dependency> | ||
153 | + <groupId>com.alibaba</groupId> | ||
154 | + <artifactId>druid</artifactId> | ||
155 | + <version>${alibaba.druid.version}</version> | ||
156 | + </dependency> | ||
157 | + | ||
158 | + <dependency> | ||
159 | + <groupId>org.aspectj</groupId> | ||
160 | + <artifactId>aspectjweaver</artifactId> | ||
161 | + <version>1.8.4</version> | ||
162 | + </dependency> | ||
163 | + | ||
164 | + | ||
165 | + <!--<dependency>--> | ||
166 | + <!--<groupId>commons-lang</groupId>--> | ||
167 | + <!--<artifactId>commons-lang</artifactId>--> | ||
168 | + <!--<version>${commons.lang.version}</version>--> | ||
169 | + <!--</dependency>--> | ||
170 | + | ||
171 | + <dependency> | ||
172 | + <groupId>commons-codec</groupId> | ||
173 | + <artifactId>commons-codec</artifactId> | ||
174 | + <version>${commons.codec.version}</version> | ||
175 | + </dependency> | ||
176 | + | ||
177 | + <!-- velocity --> | ||
178 | + <dependency> | ||
179 | + <groupId>org.apache.velocity</groupId> | ||
180 | + <artifactId>velocity</artifactId> | ||
181 | + <version>1.7</version> | ||
182 | + </dependency> | ||
183 | + <dependency> | ||
184 | + <groupId>velocity</groupId> | ||
185 | + <artifactId>velocity-dep</artifactId> | ||
186 | + <version>1.4</version> | ||
187 | + </dependency> | ||
188 | + <dependency> | ||
189 | + <groupId>commons-fileupload</groupId> | ||
190 | + <artifactId>commons-fileupload</artifactId> | ||
191 | + <version>1.3</version> | ||
192 | + </dependency> | ||
193 | + | ||
194 | + <dependency> | ||
195 | + <groupId>org.slf4j</groupId> | ||
196 | + <artifactId>slf4j-log4j12</artifactId> | ||
197 | + <version>1.7.21</version> | ||
198 | + </dependency> | ||
199 | + | ||
200 | + | ||
201 | + <dependency> | ||
202 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
203 | + <artifactId>jackson-databind</artifactId> | ||
204 | + <version>2.8.5</version> | ||
205 | + </dependency> | ||
206 | + | ||
207 | + <dependency> | ||
208 | + <groupId>com.google.guava</groupId> | ||
209 | + <artifactId>guava</artifactId> | ||
210 | + <version>20.0</version> | ||
211 | + </dependency> | ||
212 | + | ||
213 | + <!-- dili sdk --> | ||
214 | + <dependency> | ||
215 | + <groupId>com.diligrp.website</groupId> | ||
216 | + <artifactId>diligrp-website-util</artifactId> | ||
217 | + <version>0.0.1-SNAPSHOT</version> | ||
218 | + </dependency> | ||
219 | + | ||
220 | + | ||
221 | + <!--swagger--> | ||
222 | + <!--swagger--> | ||
223 | + <dependency> | ||
224 | + <groupId>io.springfox</groupId> | ||
225 | + <artifactId>springfox-swagger2</artifactId> | ||
226 | + <version>2.2.2</version> | ||
227 | + <exclusions> | ||
228 | + <exclusion> | ||
229 | + <groupId>org.springframework</groupId> | ||
230 | + <artifactId>spring-web</artifactId> | ||
231 | + </exclusion> | ||
232 | + <exclusion> | ||
233 | + <groupId>org.springframework</groupId> | ||
234 | + <artifactId>spring-beans</artifactId> | ||
235 | + </exclusion> | ||
236 | + <exclusion> | ||
237 | + <groupId>org.springframework</groupId> | ||
238 | + <artifactId>spring-webmvc</artifactId> | ||
239 | + </exclusion> | ||
240 | + <exclusion> | ||
241 | + <groupId>org.springframework</groupId> | ||
242 | + <artifactId>spring-beans</artifactId> | ||
243 | + </exclusion> | ||
244 | + <exclusion> | ||
245 | + <groupId>org.springframework</groupId> | ||
246 | + <artifactId>spring-context</artifactId> | ||
247 | + </exclusion> | ||
248 | + <exclusion> | ||
249 | + <groupId>org.springframework</groupId> | ||
250 | + <artifactId>spring-core</artifactId> | ||
251 | + </exclusion> | ||
252 | + <exclusion> | ||
253 | + <groupId>org.springframework</groupId> | ||
254 | + <artifactId>spring-aop</artifactId> | ||
255 | + </exclusion> | ||
256 | + <exclusion> | ||
257 | + <groupId>org.aspectj</groupId> | ||
258 | + <artifactId>aspectjweaver</artifactId> | ||
259 | + </exclusion> | ||
260 | + <exclusion> | ||
261 | + <groupId>org.slf4j</groupId> | ||
262 | + <artifactId>slf4j-api</artifactId> | ||
263 | + </exclusion> | ||
264 | + <exclusion> | ||
265 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
266 | + <artifactId>jackson-annotations</artifactId> | ||
267 | + </exclusion> | ||
268 | + </exclusions> | ||
269 | + </dependency> | ||
270 | + | ||
271 | + <dependency> | ||
272 | + <groupId>io.springfox</groupId> | ||
273 | + <artifactId>springfox-swagger-ui</artifactId> | ||
274 | + <version>2.2.2</version> | ||
275 | + </dependency> | ||
276 | + <dependency> | ||
277 | + <groupId>io.swagger</groupId> | ||
278 | + <artifactId>swagger-annotations</artifactId> | ||
279 | + <version>1.5.3</version> | ||
280 | + </dependency> | ||
281 | + </dependencies> | ||
282 | + <build> | ||
283 | + <finalName>myapp</finalName> | ||
284 | + <resources> | ||
285 | + <resource> | ||
286 | + <directory>${project.basedir}/src/main/resources</directory> | ||
287 | + <filtering>true</filtering> | ||
288 | + </resource> | ||
289 | + </resources> | ||
290 | + <plugins> | ||
291 | + <plugin> | ||
292 | + <groupId>org.codehaus.mojo</groupId> | ||
293 | + <artifactId>tomcat-maven-plugin</artifactId> | ||
294 | + <configuration> | ||
295 | + <uriEncoding>UTF-8</uriEncoding> | ||
296 | + <path>/</path> | ||
297 | + <port>80</port> | ||
298 | + </configuration> | ||
299 | + </plugin> | ||
300 | + <plugin> | ||
301 | + <groupId>org.apache.maven.plugins</groupId> | ||
302 | + <artifactId>maven-compiler-plugin</artifactId> | ||
303 | + <version>3.1</version> | ||
304 | + <configuration> | ||
305 | + <source>${java.version}</source> | ||
306 | + <target>${java.version}</target> | ||
307 | + <showWarnings>true</showWarnings> | ||
308 | + </configuration> | ||
309 | + </plugin> | ||
310 | + <plugin> | ||
311 | + <groupId>org.mortbay.jetty</groupId> | ||
312 | + <artifactId>jetty-maven-plugin</artifactId> | ||
313 | + <version>7.6.15.v20140411</version> | ||
314 | + <configuration> | ||
315 | + <webApp> | ||
316 | + <contextPath>/</contextPath> | ||
317 | + </webApp> | ||
318 | + <connectors> | ||
319 | + <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> | ||
320 | + <port>8080</port> | ||
321 | + </connector> | ||
322 | + </connectors> | ||
323 | + <stopKey/> | ||
324 | + <stopPort/> | ||
325 | + </configuration> | ||
326 | + </plugin> | ||
327 | + </plugins> | ||
328 | + </build> | ||
329 | + | ||
330 | + <!-- 打包配置信息 --> | ||
331 | + <profiles> | ||
332 | + <profile> | ||
333 | + <!-- 开发环境 --> | ||
334 | + <id>develop</id> | ||
335 | + <!-- 默认 --> | ||
336 | + <activation> | ||
337 | + <activeByDefault>true</activeByDefault> | ||
338 | + </activation> | ||
339 | + <properties> | ||
340 | + <!-- redis --> | ||
341 | + <project.redis.host1>10.28.6.152</project.redis.host1> | ||
342 | + <project.redis.port1>6379</project.redis.port1> | ||
343 | + <!-- 显示模板 --> | ||
344 | + <project.view.VMDefault>layout/default</project.view.VMDefault> | ||
345 | + <project.contextPath>http://www.myapp.com</project.contextPath> | ||
346 | + <!--redis --> | ||
347 | + <project.redis.host1>10.28.10.208</project.redis.host1> | ||
348 | + <project.redis.port1>6379</project.redis.port1> | ||
349 | + | ||
350 | + <project.contextPath>http://www.myapp.com</project.contextPath> | ||
351 | + <!-- 后台默认静态资源地址 --> | ||
352 | + <project.default.assets.path>http://static.1n4j.com/static/ace1.3/assets</project.default.assets.path> | ||
353 | + | ||
354 | + <!-- 公共样式引用 --> | ||
355 | + <project.default.assets.common.path>http://static.1n4j.com/static/</project.default.assets.common.path> | ||
356 | + </properties> | ||
357 | + </profile> | ||
358 | + </profiles> | ||
359 | + </project> |
src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoInput.java | ||
1 | +package com.dili.myapp.api.buyerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:13 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class BuyerInfoInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 手机号 | ||
31 | + */ | ||
32 | + @ApiParam(value = "手机号",required = true) | ||
33 | + @NotBlank(message="手机号不能为空") | ||
34 | + private String mobilePhone; | ||
35 | + /** | ||
36 | + * 密码 | ||
37 | + */ | ||
38 | + @ApiParam(value = "密码",required = true) | ||
39 | + @NotBlank(message="密码不能为空") | ||
40 | + private String accountPwd; | ||
41 | + /** | ||
42 | + * 用户名 | ||
43 | + */ | ||
44 | + @ApiParam(value = "用户名",required = true) | ||
45 | + @NotBlank(message="用户名不能为空") | ||
46 | + private String accountName; | ||
47 | + /** | ||
48 | + * 性别(1:男 2:女) | ||
49 | + */ | ||
50 | + @ApiParam(value = "性别(1:男 2:女)",required = true) | ||
51 | + @NotNull(message="性别(1:男 2:女)不能为空") | ||
52 | + private Integer sex; | ||
53 | + /** | ||
54 | + * 生日 | ||
55 | + */ | ||
56 | + @ApiParam(value = "生日",required = true) | ||
57 | + @NotNull(message="生日不能为空") | ||
58 | + private Date birthday; | ||
59 | + /** | ||
60 | + * 头像 | ||
61 | + */ | ||
62 | + @ApiParam(value = "头像",required = true) | ||
63 | + @NotBlank(message="头像不能为空") | ||
64 | + private String face; | ||
65 | + /** | ||
66 | + * 当前绑定的店铺ID | ||
67 | + */ | ||
68 | + @ApiParam(value = "当前绑定的店铺ID",required = true) | ||
69 | + @NotNull(message="当前绑定的店铺ID不能为空") | ||
70 | + private Long currentShopId; | ||
71 | + /** | ||
72 | + * 状态(1:有效 2:无效) | ||
73 | + */ | ||
74 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
75 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
76 | + private Integer yn; | ||
77 | + /** | ||
78 | + * | ||
79 | + */ | ||
80 | + @ApiParam(value = "",required = true) | ||
81 | + @NotNull(message="不能为空") | ||
82 | + private Date created; | ||
83 | + /** | ||
84 | + * | ||
85 | + */ | ||
86 | + @ApiParam(value = "",required = true) | ||
87 | + @NotNull(message="不能为空") | ||
88 | + private Date modified; | ||
89 | + /** | ||
90 | + * 当前页数 | ||
91 | + */ | ||
92 | + private Integer pageNum; | ||
93 | + /** | ||
94 | + * 每个数量 | ||
95 | + */ | ||
96 | + private Integer pageSize; | ||
97 | + public void setId (Long id){ | ||
98 | + this.id = id; | ||
99 | + } | ||
100 | + public Long getId(){ | ||
101 | + return this.id; | ||
102 | + } | ||
103 | + public void setMobilePhone (String mobilePhone){ | ||
104 | + this.mobilePhone = mobilePhone; | ||
105 | + } | ||
106 | + public String getMobilePhone(){ | ||
107 | + return this.mobilePhone; | ||
108 | + } | ||
109 | + public void setAccountPwd (String accountPwd){ | ||
110 | + this.accountPwd = accountPwd; | ||
111 | + } | ||
112 | + public String getAccountPwd(){ | ||
113 | + return this.accountPwd; | ||
114 | + } | ||
115 | + public void setAccountName (String accountName){ | ||
116 | + this.accountName = accountName; | ||
117 | + } | ||
118 | + public String getAccountName(){ | ||
119 | + return this.accountName; | ||
120 | + } | ||
121 | + public void setSex (Integer sex){ | ||
122 | + this.sex = sex; | ||
123 | + } | ||
124 | + public Integer getSex(){ | ||
125 | + return this.sex; | ||
126 | + } | ||
127 | + public void setBirthday (Date birthday){ | ||
128 | + this.birthday = birthday; | ||
129 | + } | ||
130 | + public Date getBirthday(){ | ||
131 | + return this.birthday; | ||
132 | + } | ||
133 | + public void setFace (String face){ | ||
134 | + this.face = face; | ||
135 | + } | ||
136 | + public String getFace(){ | ||
137 | + return this.face; | ||
138 | + } | ||
139 | + public void setCurrentShopId (Long currentShopId){ | ||
140 | + this.currentShopId = currentShopId; | ||
141 | + } | ||
142 | + public Long getCurrentShopId(){ | ||
143 | + return this.currentShopId; | ||
144 | + } | ||
145 | + public void setYn (Integer yn){ | ||
146 | + this.yn = yn; | ||
147 | + } | ||
148 | + public Integer getYn(){ | ||
149 | + return this.yn; | ||
150 | + } | ||
151 | + public void setCreated (Date created){ | ||
152 | + this.created = created; | ||
153 | + } | ||
154 | + public Date getCreated(){ | ||
155 | + return this.created; | ||
156 | + } | ||
157 | + public void setModified (Date modified){ | ||
158 | + this.modified = modified; | ||
159 | + } | ||
160 | + public Date getModified(){ | ||
161 | + return this.modified; | ||
162 | + } | ||
163 | + public Integer getPageNum() {return pageNum;} | ||
164 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
165 | + public Integer getPageSize() {return pageSize;} | ||
166 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
167 | + | ||
168 | + public String toString(){ | ||
169 | + StringBuffer sb = new StringBuffer(); | ||
170 | + sb.append("BuyerInfo ["); | ||
171 | + sb.append("id = "); | ||
172 | + sb.append(id); | ||
173 | + sb.append(", mobilePhone = "); | ||
174 | + sb.append(mobilePhone); | ||
175 | + sb.append(", accountPwd = "); | ||
176 | + sb.append(accountPwd); | ||
177 | + sb.append(", accountName = "); | ||
178 | + sb.append(accountName); | ||
179 | + sb.append(", sex = "); | ||
180 | + sb.append(sex); | ||
181 | + sb.append(", birthday = "); | ||
182 | + sb.append(birthday); | ||
183 | + sb.append(", face = "); | ||
184 | + sb.append(face); | ||
185 | + sb.append(", currentShopId = "); | ||
186 | + sb.append(currentShopId); | ||
187 | + sb.append(", yn = "); | ||
188 | + sb.append(yn); | ||
189 | + sb.append(", created = "); | ||
190 | + sb.append(created); | ||
191 | + sb.append(", modified = "); | ||
192 | + sb.append(modified); | ||
193 | + sb.append("]"); | ||
194 | + return sb.toString(); | ||
195 | + } | ||
196 | +} | ||
0 | \ No newline at end of file | 197 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoListInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoListInput.java | ||
1 | +package com.dili.myapp.api.buyerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | +import com.dili.myapp.utils.base.BaseQuery; | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | +/** | ||
19 | + * <br /> | ||
20 | + * @createTime 2016-11-23 17:19:13 | ||
21 | + * @author template | ||
22 | + */ | ||
23 | +public class BuyerInfoListInput extends BaseQuery implements Serializable{ | ||
24 | + | ||
25 | + /** | ||
26 | + * | ||
27 | + */ | ||
28 | + @ApiParam(value = "") | ||
29 | + private Long id; | ||
30 | + /** | ||
31 | + * 手机号 | ||
32 | + */ | ||
33 | + @ApiParam(value = "手机号") | ||
34 | + private String mobilePhone; | ||
35 | + /** | ||
36 | + * 密码 | ||
37 | + */ | ||
38 | + @ApiParam(value = "密码") | ||
39 | + private String accountPwd; | ||
40 | + /** | ||
41 | + * 用户名 | ||
42 | + */ | ||
43 | + @ApiParam(value = "用户名") | ||
44 | + private String accountName; | ||
45 | + /** | ||
46 | + * 性别(1:男 2:女) | ||
47 | + */ | ||
48 | + @ApiParam(value = "性别(1:男 2:女)") | ||
49 | + private Integer sex; | ||
50 | + /** | ||
51 | + * 生日 | ||
52 | + */ | ||
53 | + @ApiParam(value = "生日") | ||
54 | + private Date birthday; | ||
55 | + /** | ||
56 | + * 头像 | ||
57 | + */ | ||
58 | + @ApiParam(value = "头像") | ||
59 | + private String face; | ||
60 | + /** | ||
61 | + * 当前绑定的店铺ID | ||
62 | + */ | ||
63 | + @ApiParam(value = "当前绑定的店铺ID") | ||
64 | + private Long currentShopId; | ||
65 | + /** | ||
66 | + * 状态(1:有效 2:无效) | ||
67 | + */ | ||
68 | + @ApiParam(value = "状态(1:有效 2:无效)") | ||
69 | + private Integer yn; | ||
70 | + /** | ||
71 | + * | ||
72 | + */ | ||
73 | + @ApiParam(value = "") | ||
74 | + private Date created; | ||
75 | + /** | ||
76 | + * | ||
77 | + */ | ||
78 | + @ApiParam(value = "") | ||
79 | + private Date modified; | ||
80 | + /** | ||
81 | + * 当前页数 | ||
82 | + */ | ||
83 | + private Integer pageNum; | ||
84 | + /** | ||
85 | + * 每个数量 | ||
86 | + */ | ||
87 | + private Integer pageSize; | ||
88 | + public void setId (Long id){ | ||
89 | + this.id = id; | ||
90 | + } | ||
91 | + public Long getId(){ | ||
92 | + return this.id; | ||
93 | + } | ||
94 | + public void setMobilePhone (String mobilePhone){ | ||
95 | + this.mobilePhone = mobilePhone; | ||
96 | + } | ||
97 | + public String getMobilePhone(){ | ||
98 | + return this.mobilePhone; | ||
99 | + } | ||
100 | + public void setAccountPwd (String accountPwd){ | ||
101 | + this.accountPwd = accountPwd; | ||
102 | + } | ||
103 | + public String getAccountPwd(){ | ||
104 | + return this.accountPwd; | ||
105 | + } | ||
106 | + public void setAccountName (String accountName){ | ||
107 | + this.accountName = accountName; | ||
108 | + } | ||
109 | + public String getAccountName(){ | ||
110 | + return this.accountName; | ||
111 | + } | ||
112 | + public void setSex (Integer sex){ | ||
113 | + this.sex = sex; | ||
114 | + } | ||
115 | + public Integer getSex(){ | ||
116 | + return this.sex; | ||
117 | + } | ||
118 | + public void setBirthday (Date birthday){ | ||
119 | + this.birthday = birthday; | ||
120 | + } | ||
121 | + public Date getBirthday(){ | ||
122 | + return this.birthday; | ||
123 | + } | ||
124 | + public void setFace (String face){ | ||
125 | + this.face = face; | ||
126 | + } | ||
127 | + public String getFace(){ | ||
128 | + return this.face; | ||
129 | + } | ||
130 | + public void setCurrentShopId (Long currentShopId){ | ||
131 | + this.currentShopId = currentShopId; | ||
132 | + } | ||
133 | + public Long getCurrentShopId(){ | ||
134 | + return this.currentShopId; | ||
135 | + } | ||
136 | + public void setYn (Integer yn){ | ||
137 | + this.yn = yn; | ||
138 | + } | ||
139 | + public Integer getYn(){ | ||
140 | + return this.yn; | ||
141 | + } | ||
142 | + public void setCreated (Date created){ | ||
143 | + this.created = created; | ||
144 | + } | ||
145 | + public Date getCreated(){ | ||
146 | + return this.created; | ||
147 | + } | ||
148 | + public void setModified (Date modified){ | ||
149 | + this.modified = modified; | ||
150 | + } | ||
151 | + public Date getModified(){ | ||
152 | + return this.modified; | ||
153 | + } | ||
154 | + public Integer getPageNum() {return pageNum;} | ||
155 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
156 | + public Integer getPageSize() {return pageSize;} | ||
157 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
158 | + | ||
159 | + public String toString(){ | ||
160 | + StringBuffer sb = new StringBuffer(); | ||
161 | + sb.append("BuyerInfo ["); | ||
162 | + sb.append("id = "); | ||
163 | + sb.append(id); | ||
164 | + sb.append(", mobilePhone = "); | ||
165 | + sb.append(mobilePhone); | ||
166 | + sb.append(", accountPwd = "); | ||
167 | + sb.append(accountPwd); | ||
168 | + sb.append(", accountName = "); | ||
169 | + sb.append(accountName); | ||
170 | + sb.append(", sex = "); | ||
171 | + sb.append(sex); | ||
172 | + sb.append(", birthday = "); | ||
173 | + sb.append(birthday); | ||
174 | + sb.append(", face = "); | ||
175 | + sb.append(face); | ||
176 | + sb.append(", currentShopId = "); | ||
177 | + sb.append(currentShopId); | ||
178 | + sb.append(", yn = "); | ||
179 | + sb.append(yn); | ||
180 | + sb.append(", created = "); | ||
181 | + sb.append(created); | ||
182 | + sb.append(", modified = "); | ||
183 | + sb.append(modified); | ||
184 | + sb.append("]"); | ||
185 | + return sb.toString(); | ||
186 | + } | ||
187 | +} | ||
0 | \ No newline at end of file | 188 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoSaveInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoSaveInput.java | ||
1 | +package com.dili.myapp.api.buyerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:13 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class BuyerInfoSaveInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 手机号 | ||
25 | + */ | ||
26 | + @ApiParam(value = "手机号",required = true) | ||
27 | + @NotBlank(message="手机号不能为空") | ||
28 | + private String mobilePhone; | ||
29 | + /** | ||
30 | + * 密码 | ||
31 | + */ | ||
32 | + @ApiParam(value = "密码",required = true) | ||
33 | + @NotBlank(message="密码不能为空") | ||
34 | + private String accountPwd; | ||
35 | + /** | ||
36 | + * 用户名 | ||
37 | + */ | ||
38 | + @ApiParam(value = "用户名",required = true) | ||
39 | + @NotBlank(message="用户名不能为空") | ||
40 | + private String accountName; | ||
41 | + /** | ||
42 | + * 性别(1:男 2:女) | ||
43 | + */ | ||
44 | + @ApiParam(value = "性别(1:男 2:女)",required = true) | ||
45 | + @NotNull(message="性别(1:男 2:女)不能为空") | ||
46 | + private Integer sex; | ||
47 | + /** | ||
48 | + * 生日 | ||
49 | + */ | ||
50 | + @ApiParam(value = "生日",required = true) | ||
51 | + @NotNull(message="生日不能为空") | ||
52 | + private Date birthday; | ||
53 | + /** | ||
54 | + * 头像 | ||
55 | + */ | ||
56 | + @ApiParam(value = "头像",required = true) | ||
57 | + @NotBlank(message="头像不能为空") | ||
58 | + private String face; | ||
59 | + /** | ||
60 | + * 当前绑定的店铺ID | ||
61 | + */ | ||
62 | + @ApiParam(value = "当前绑定的店铺ID",required = true) | ||
63 | + @NotNull(message="当前绑定的店铺ID不能为空") | ||
64 | + private Long currentShopId; | ||
65 | + /** | ||
66 | + * 状态(1:有效 2:无效) | ||
67 | + */ | ||
68 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
69 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
70 | + private Integer yn; | ||
71 | + /** | ||
72 | + * | ||
73 | + */ | ||
74 | + @ApiParam(value = "",required = true) | ||
75 | + @NotNull(message="不能为空") | ||
76 | + private Date created; | ||
77 | + /** | ||
78 | + * | ||
79 | + */ | ||
80 | + @ApiParam(value = "",required = true) | ||
81 | + @NotNull(message="不能为空") | ||
82 | + private Date modified; | ||
83 | + | ||
84 | + public void setMobilePhone (String mobilePhone){ | ||
85 | + this.mobilePhone = mobilePhone; | ||
86 | + } | ||
87 | + public String getMobilePhone(){ | ||
88 | + return this.mobilePhone; | ||
89 | + } | ||
90 | + public void setAccountPwd (String accountPwd){ | ||
91 | + this.accountPwd = accountPwd; | ||
92 | + } | ||
93 | + public String getAccountPwd(){ | ||
94 | + return this.accountPwd; | ||
95 | + } | ||
96 | + public void setAccountName (String accountName){ | ||
97 | + this.accountName = accountName; | ||
98 | + } | ||
99 | + public String getAccountName(){ | ||
100 | + return this.accountName; | ||
101 | + } | ||
102 | + public void setSex (Integer sex){ | ||
103 | + this.sex = sex; | ||
104 | + } | ||
105 | + public Integer getSex(){ | ||
106 | + return this.sex; | ||
107 | + } | ||
108 | + public void setBirthday (Date birthday){ | ||
109 | + this.birthday = birthday; | ||
110 | + } | ||
111 | + public Date getBirthday(){ | ||
112 | + return this.birthday; | ||
113 | + } | ||
114 | + public void setFace (String face){ | ||
115 | + this.face = face; | ||
116 | + } | ||
117 | + public String getFace(){ | ||
118 | + return this.face; | ||
119 | + } | ||
120 | + public void setCurrentShopId (Long currentShopId){ | ||
121 | + this.currentShopId = currentShopId; | ||
122 | + } | ||
123 | + public Long getCurrentShopId(){ | ||
124 | + return this.currentShopId; | ||
125 | + } | ||
126 | + public void setYn (Integer yn){ | ||
127 | + this.yn = yn; | ||
128 | + } | ||
129 | + public Integer getYn(){ | ||
130 | + return this.yn; | ||
131 | + } | ||
132 | + public void setCreated (Date created){ | ||
133 | + this.created = created; | ||
134 | + } | ||
135 | + public Date getCreated(){ | ||
136 | + return this.created; | ||
137 | + } | ||
138 | + public void setModified (Date modified){ | ||
139 | + this.modified = modified; | ||
140 | + } | ||
141 | + public Date getModified(){ | ||
142 | + return this.modified; | ||
143 | + } | ||
144 | + | ||
145 | + public String toString(){ | ||
146 | + StringBuffer sb = new StringBuffer(); | ||
147 | + sb.append("BuyerInfo ["); | ||
148 | + sb.append(", mobilePhone = "); | ||
149 | + sb.append(mobilePhone); | ||
150 | + sb.append(", accountPwd = "); | ||
151 | + sb.append(accountPwd); | ||
152 | + sb.append(", accountName = "); | ||
153 | + sb.append(accountName); | ||
154 | + sb.append(", sex = "); | ||
155 | + sb.append(sex); | ||
156 | + sb.append(", birthday = "); | ||
157 | + sb.append(birthday); | ||
158 | + sb.append(", face = "); | ||
159 | + sb.append(face); | ||
160 | + sb.append(", currentShopId = "); | ||
161 | + sb.append(currentShopId); | ||
162 | + sb.append(", yn = "); | ||
163 | + sb.append(yn); | ||
164 | + sb.append(", created = "); | ||
165 | + sb.append(created); | ||
166 | + sb.append(", modified = "); | ||
167 | + sb.append(modified); | ||
168 | + sb.append("]"); | ||
169 | + return sb.toString(); | ||
170 | + } | ||
171 | +} | ||
0 | \ No newline at end of file | 172 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoUpdateInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/buyerInfo/input/BuyerInfoUpdateInput.java | ||
1 | +package com.dili.myapp.api.buyerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:13 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class BuyerInfoUpdateInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 手机号 | ||
31 | + */ | ||
32 | + @ApiParam(value = "手机号",required = true) | ||
33 | + @NotBlank(message="手机号不能为空") | ||
34 | + private String mobilePhone; | ||
35 | + /** | ||
36 | + * 密码 | ||
37 | + */ | ||
38 | + @ApiParam(value = "密码",required = true) | ||
39 | + @NotBlank(message="密码不能为空") | ||
40 | + private String accountPwd; | ||
41 | + /** | ||
42 | + * 用户名 | ||
43 | + */ | ||
44 | + @ApiParam(value = "用户名",required = true) | ||
45 | + @NotBlank(message="用户名不能为空") | ||
46 | + private String accountName; | ||
47 | + /** | ||
48 | + * 性别(1:男 2:女) | ||
49 | + */ | ||
50 | + @ApiParam(value = "性别(1:男 2:女)",required = true) | ||
51 | + @NotNull(message="性别(1:男 2:女)不能为空") | ||
52 | + private Integer sex; | ||
53 | + /** | ||
54 | + * 生日 | ||
55 | + */ | ||
56 | + @ApiParam(value = "生日",required = true) | ||
57 | + @NotNull(message="生日不能为空") | ||
58 | + private Date birthday; | ||
59 | + /** | ||
60 | + * 头像 | ||
61 | + */ | ||
62 | + @ApiParam(value = "头像",required = true) | ||
63 | + @NotBlank(message="头像不能为空") | ||
64 | + private String face; | ||
65 | + /** | ||
66 | + * 当前绑定的店铺ID | ||
67 | + */ | ||
68 | + @ApiParam(value = "当前绑定的店铺ID",required = true) | ||
69 | + @NotNull(message="当前绑定的店铺ID不能为空") | ||
70 | + private Long currentShopId; | ||
71 | + /** | ||
72 | + * 状态(1:有效 2:无效) | ||
73 | + */ | ||
74 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
75 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
76 | + private Integer yn; | ||
77 | + /** | ||
78 | + * | ||
79 | + */ | ||
80 | + @ApiParam(value = "",required = true) | ||
81 | + @NotNull(message="不能为空") | ||
82 | + private Date created; | ||
83 | + /** | ||
84 | + * | ||
85 | + */ | ||
86 | + @ApiParam(value = "",required = true) | ||
87 | + @NotNull(message="不能为空") | ||
88 | + private Date modified; | ||
89 | + | ||
90 | + public void setId (Long id){ | ||
91 | + this.id = id; | ||
92 | + } | ||
93 | + public Long getId(){ | ||
94 | + return this.id; | ||
95 | + } | ||
96 | + public void setMobilePhone (String mobilePhone){ | ||
97 | + this.mobilePhone = mobilePhone; | ||
98 | + } | ||
99 | + public String getMobilePhone(){ | ||
100 | + return this.mobilePhone; | ||
101 | + } | ||
102 | + public void setAccountPwd (String accountPwd){ | ||
103 | + this.accountPwd = accountPwd; | ||
104 | + } | ||
105 | + public String getAccountPwd(){ | ||
106 | + return this.accountPwd; | ||
107 | + } | ||
108 | + public void setAccountName (String accountName){ | ||
109 | + this.accountName = accountName; | ||
110 | + } | ||
111 | + public String getAccountName(){ | ||
112 | + return this.accountName; | ||
113 | + } | ||
114 | + public void setSex (Integer sex){ | ||
115 | + this.sex = sex; | ||
116 | + } | ||
117 | + public Integer getSex(){ | ||
118 | + return this.sex; | ||
119 | + } | ||
120 | + public void setBirthday (Date birthday){ | ||
121 | + this.birthday = birthday; | ||
122 | + } | ||
123 | + public Date getBirthday(){ | ||
124 | + return this.birthday; | ||
125 | + } | ||
126 | + public void setFace (String face){ | ||
127 | + this.face = face; | ||
128 | + } | ||
129 | + public String getFace(){ | ||
130 | + return this.face; | ||
131 | + } | ||
132 | + public void setCurrentShopId (Long currentShopId){ | ||
133 | + this.currentShopId = currentShopId; | ||
134 | + } | ||
135 | + public Long getCurrentShopId(){ | ||
136 | + return this.currentShopId; | ||
137 | + } | ||
138 | + public void setYn (Integer yn){ | ||
139 | + this.yn = yn; | ||
140 | + } | ||
141 | + public Integer getYn(){ | ||
142 | + return this.yn; | ||
143 | + } | ||
144 | + public void setCreated (Date created){ | ||
145 | + this.created = created; | ||
146 | + } | ||
147 | + public Date getCreated(){ | ||
148 | + return this.created; | ||
149 | + } | ||
150 | + public void setModified (Date modified){ | ||
151 | + this.modified = modified; | ||
152 | + } | ||
153 | + public Date getModified(){ | ||
154 | + return this.modified; | ||
155 | + } | ||
156 | + | ||
157 | + public String toString(){ | ||
158 | + StringBuffer sb = new StringBuffer(); | ||
159 | + sb.append("BuyerInfo ["); | ||
160 | + sb.append("id = "); | ||
161 | + sb.append(id); | ||
162 | + sb.append(", mobilePhone = "); | ||
163 | + sb.append(mobilePhone); | ||
164 | + sb.append(", accountPwd = "); | ||
165 | + sb.append(accountPwd); | ||
166 | + sb.append(", accountName = "); | ||
167 | + sb.append(accountName); | ||
168 | + sb.append(", sex = "); | ||
169 | + sb.append(sex); | ||
170 | + sb.append(", birthday = "); | ||
171 | + sb.append(birthday); | ||
172 | + sb.append(", face = "); | ||
173 | + sb.append(face); | ||
174 | + sb.append(", currentShopId = "); | ||
175 | + sb.append(currentShopId); | ||
176 | + sb.append(", yn = "); | ||
177 | + sb.append(yn); | ||
178 | + sb.append(", created = "); | ||
179 | + sb.append(created); | ||
180 | + sb.append(", modified = "); | ||
181 | + sb.append(modified); | ||
182 | + sb.append("]"); | ||
183 | + return sb.toString(); | ||
184 | + } | ||
185 | +} | ||
0 | \ No newline at end of file | 186 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/buyerInfo/output/BuyerInfoOutput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/buyerInfo/output/BuyerInfoOutput.java | ||
1 | +package com.dili.myapp.api.buyerInfo.output; | ||
2 | + | ||
3 | +import io.swagger.annotations.ApiModelProperty; | ||
4 | + | ||
5 | +import java.io.Serializable; | ||
6 | +import java.util.*; | ||
7 | +import java.sql.Timestamp; | ||
8 | + | ||
9 | + | ||
10 | +/** | ||
11 | + * <br /> | ||
12 | + * @createTime 2016-11-23 17:19:13 | ||
13 | + * @author template | ||
14 | + */ | ||
15 | +public class BuyerInfoOutput implements Serializable { | ||
16 | + | ||
17 | + /** | ||
18 | + * | ||
19 | + */ | ||
20 | + @ApiModelProperty(value = "") | ||
21 | + private Long id; | ||
22 | + /** | ||
23 | + * 手机号 | ||
24 | + */ | ||
25 | + @ApiModelProperty(value = "手机号") | ||
26 | + private String mobilePhone; | ||
27 | + /** | ||
28 | + * 密码 | ||
29 | + */ | ||
30 | + @ApiModelProperty(value = "密码") | ||
31 | + private String accountPwd; | ||
32 | + /** | ||
33 | + * 用户名 | ||
34 | + */ | ||
35 | + @ApiModelProperty(value = "用户名") | ||
36 | + private String accountName; | ||
37 | + /** | ||
38 | + * 性别(1:男 2:女) | ||
39 | + */ | ||
40 | + @ApiModelProperty(value = "性别(1:男 2:女)") | ||
41 | + private Integer sex; | ||
42 | + /** | ||
43 | + * 生日 | ||
44 | + */ | ||
45 | + @ApiModelProperty(value = "生日") | ||
46 | + private Date birthday; | ||
47 | + /** | ||
48 | + * 头像 | ||
49 | + */ | ||
50 | + @ApiModelProperty(value = "头像") | ||
51 | + private String face; | ||
52 | + /** | ||
53 | + * 当前绑定的店铺ID | ||
54 | + */ | ||
55 | + @ApiModelProperty(value = "当前绑定的店铺ID") | ||
56 | + private Long currentShopId; | ||
57 | + /** | ||
58 | + * 状态(1:有效 2:无效) | ||
59 | + */ | ||
60 | + @ApiModelProperty(value = "状态(1:有效 2:无效)") | ||
61 | + private Integer yn; | ||
62 | + /** | ||
63 | + * | ||
64 | + */ | ||
65 | + @ApiModelProperty(value = "") | ||
66 | + private Date created; | ||
67 | + /** | ||
68 | + * | ||
69 | + */ | ||
70 | + @ApiModelProperty(value = "") | ||
71 | + private Date modified; | ||
72 | + public void setId (Long id){ | ||
73 | + this.id = id; | ||
74 | + } | ||
75 | + public Long getId(){ | ||
76 | + return this.id; | ||
77 | + } | ||
78 | + public void setMobilePhone (String mobilePhone){ | ||
79 | + this.mobilePhone = mobilePhone; | ||
80 | + } | ||
81 | + public String getMobilePhone(){ | ||
82 | + return this.mobilePhone; | ||
83 | + } | ||
84 | + public void setAccountPwd (String accountPwd){ | ||
85 | + this.accountPwd = accountPwd; | ||
86 | + } | ||
87 | + public String getAccountPwd(){ | ||
88 | + return this.accountPwd; | ||
89 | + } | ||
90 | + public void setAccountName (String accountName){ | ||
91 | + this.accountName = accountName; | ||
92 | + } | ||
93 | + public String getAccountName(){ | ||
94 | + return this.accountName; | ||
95 | + } | ||
96 | + public void setSex (Integer sex){ | ||
97 | + this.sex = sex; | ||
98 | + } | ||
99 | + public Integer getSex(){ | ||
100 | + return this.sex; | ||
101 | + } | ||
102 | + public void setBirthday (Date birthday){ | ||
103 | + this.birthday = birthday; | ||
104 | + } | ||
105 | + public Date getBirthday(){ | ||
106 | + return this.birthday; | ||
107 | + } | ||
108 | + public void setFace (String face){ | ||
109 | + this.face = face; | ||
110 | + } | ||
111 | + public String getFace(){ | ||
112 | + return this.face; | ||
113 | + } | ||
114 | + public void setCurrentShopId (Long currentShopId){ | ||
115 | + this.currentShopId = currentShopId; | ||
116 | + } | ||
117 | + public Long getCurrentShopId(){ | ||
118 | + return this.currentShopId; | ||
119 | + } | ||
120 | + public void setYn (Integer yn){ | ||
121 | + this.yn = yn; | ||
122 | + } | ||
123 | + public Integer getYn(){ | ||
124 | + return this.yn; | ||
125 | + } | ||
126 | + public void setCreated (Date created){ | ||
127 | + this.created = created; | ||
128 | + } | ||
129 | + public Date getCreated(){ | ||
130 | + return this.created; | ||
131 | + } | ||
132 | + public void setModified (Date modified){ | ||
133 | + this.modified = modified; | ||
134 | + } | ||
135 | + public Date getModified(){ | ||
136 | + return this.modified; | ||
137 | + } | ||
138 | + | ||
139 | + public String toString(){ | ||
140 | + StringBuffer sb = new StringBuffer(); | ||
141 | + sb.append("BuyerInfo ["); | ||
142 | + sb.append("id = "); | ||
143 | + sb.append(id); | ||
144 | + sb.append(", mobilePhone = "); | ||
145 | + sb.append(mobilePhone); | ||
146 | + sb.append(", accountPwd = "); | ||
147 | + sb.append(accountPwd); | ||
148 | + sb.append(", accountName = "); | ||
149 | + sb.append(accountName); | ||
150 | + sb.append(", sex = "); | ||
151 | + sb.append(sex); | ||
152 | + sb.append(", birthday = "); | ||
153 | + sb.append(birthday); | ||
154 | + sb.append(", face = "); | ||
155 | + sb.append(face); | ||
156 | + sb.append(", currentShopId = "); | ||
157 | + sb.append(currentShopId); | ||
158 | + sb.append(", yn = "); | ||
159 | + sb.append(yn); | ||
160 | + sb.append(", created = "); | ||
161 | + sb.append(created); | ||
162 | + sb.append(", modified = "); | ||
163 | + sb.append(modified); | ||
164 | + sb.append("]"); | ||
165 | + return sb.toString(); | ||
166 | + } | ||
167 | +} | ||
0 | \ No newline at end of file | 168 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeInput.java | ||
1 | +package com.dili.myapp.api.deliveryTime.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:14 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class DeliveryTimeInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 店铺ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "店铺ID",required = true) | ||
33 | + @NotNull(message="店铺ID不能为空") | ||
34 | + private Long shopId; | ||
35 | + /** | ||
36 | + * 送货开始时间 | ||
37 | + */ | ||
38 | + @ApiParam(value = "送货开始时间",required = true) | ||
39 | + @NotNull(message="送货开始时间不能为空") | ||
40 | + private Date beginTime; | ||
41 | + /** | ||
42 | + * 送货结束时间 | ||
43 | + */ | ||
44 | + @ApiParam(value = "送货结束时间",required = true) | ||
45 | + @NotNull(message="送货结束时间不能为空") | ||
46 | + private Date endTime; | ||
47 | + /** | ||
48 | + * 状态(1:有效 2:无效) | ||
49 | + */ | ||
50 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
51 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
52 | + private Integer yn; | ||
53 | + /** | ||
54 | + * | ||
55 | + */ | ||
56 | + @ApiParam(value = "",required = true) | ||
57 | + @NotNull(message="不能为空") | ||
58 | + private Date created; | ||
59 | + /** | ||
60 | + * | ||
61 | + */ | ||
62 | + @ApiParam(value = "",required = true) | ||
63 | + @NotNull(message="不能为空") | ||
64 | + private Date modified; | ||
65 | + /** | ||
66 | + * 当前页数 | ||
67 | + */ | ||
68 | + private Integer pageNum; | ||
69 | + /** | ||
70 | + * 每个数量 | ||
71 | + */ | ||
72 | + private Integer pageSize; | ||
73 | + public void setId (Long id){ | ||
74 | + this.id = id; | ||
75 | + } | ||
76 | + public Long getId(){ | ||
77 | + return this.id; | ||
78 | + } | ||
79 | + public void setShopId (Long shopId){ | ||
80 | + this.shopId = shopId; | ||
81 | + } | ||
82 | + public Long getShopId(){ | ||
83 | + return this.shopId; | ||
84 | + } | ||
85 | + public void setBeginTime (Date beginTime){ | ||
86 | + this.beginTime = beginTime; | ||
87 | + } | ||
88 | + public Date getBeginTime(){ | ||
89 | + return this.beginTime; | ||
90 | + } | ||
91 | + public void setEndTime (Date endTime){ | ||
92 | + this.endTime = endTime; | ||
93 | + } | ||
94 | + public Date getEndTime(){ | ||
95 | + return this.endTime; | ||
96 | + } | ||
97 | + public void setYn (Integer yn){ | ||
98 | + this.yn = yn; | ||
99 | + } | ||
100 | + public Integer getYn(){ | ||
101 | + return this.yn; | ||
102 | + } | ||
103 | + public void setCreated (Date created){ | ||
104 | + this.created = created; | ||
105 | + } | ||
106 | + public Date getCreated(){ | ||
107 | + return this.created; | ||
108 | + } | ||
109 | + public void setModified (Date modified){ | ||
110 | + this.modified = modified; | ||
111 | + } | ||
112 | + public Date getModified(){ | ||
113 | + return this.modified; | ||
114 | + } | ||
115 | + public Integer getPageNum() {return pageNum;} | ||
116 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
117 | + public Integer getPageSize() {return pageSize;} | ||
118 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
119 | + | ||
120 | + public String toString(){ | ||
121 | + StringBuffer sb = new StringBuffer(); | ||
122 | + sb.append("DeliveryTime ["); | ||
123 | + sb.append("id = "); | ||
124 | + sb.append(id); | ||
125 | + sb.append(", shopId = "); | ||
126 | + sb.append(shopId); | ||
127 | + sb.append(", beginTime = "); | ||
128 | + sb.append(beginTime); | ||
129 | + sb.append(", endTime = "); | ||
130 | + sb.append(endTime); | ||
131 | + sb.append(", yn = "); | ||
132 | + sb.append(yn); | ||
133 | + sb.append(", created = "); | ||
134 | + sb.append(created); | ||
135 | + sb.append(", modified = "); | ||
136 | + sb.append(modified); | ||
137 | + sb.append("]"); | ||
138 | + return sb.toString(); | ||
139 | + } | ||
140 | +} | ||
0 | \ No newline at end of file | 141 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeListInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeListInput.java | ||
1 | +package com.dili.myapp.api.deliveryTime.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | +import com.dili.myapp.utils.base.BaseQuery; | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | +/** | ||
19 | + * <br /> | ||
20 | + * @createTime 2016-11-23 17:19:14 | ||
21 | + * @author template | ||
22 | + */ | ||
23 | +public class DeliveryTimeListInput extends BaseQuery implements Serializable{ | ||
24 | + | ||
25 | + /** | ||
26 | + * | ||
27 | + */ | ||
28 | + @ApiParam(value = "") | ||
29 | + private Long id; | ||
30 | + /** | ||
31 | + * 店铺ID | ||
32 | + */ | ||
33 | + @ApiParam(value = "店铺ID") | ||
34 | + private Long shopId; | ||
35 | + /** | ||
36 | + * 送货开始时间 | ||
37 | + */ | ||
38 | + @ApiParam(value = "送货开始时间") | ||
39 | + private Date beginTime; | ||
40 | + /** | ||
41 | + * 送货结束时间 | ||
42 | + */ | ||
43 | + @ApiParam(value = "送货结束时间") | ||
44 | + private Date endTime; | ||
45 | + /** | ||
46 | + * 状态(1:有效 2:无效) | ||
47 | + */ | ||
48 | + @ApiParam(value = "状态(1:有效 2:无效)") | ||
49 | + private Integer yn; | ||
50 | + /** | ||
51 | + * | ||
52 | + */ | ||
53 | + @ApiParam(value = "") | ||
54 | + private Date created; | ||
55 | + /** | ||
56 | + * | ||
57 | + */ | ||
58 | + @ApiParam(value = "") | ||
59 | + private Date modified; | ||
60 | + /** | ||
61 | + * 当前页数 | ||
62 | + */ | ||
63 | + private Integer pageNum; | ||
64 | + /** | ||
65 | + * 每个数量 | ||
66 | + */ | ||
67 | + private Integer pageSize; | ||
68 | + public void setId (Long id){ | ||
69 | + this.id = id; | ||
70 | + } | ||
71 | + public Long getId(){ | ||
72 | + return this.id; | ||
73 | + } | ||
74 | + public void setShopId (Long shopId){ | ||
75 | + this.shopId = shopId; | ||
76 | + } | ||
77 | + public Long getShopId(){ | ||
78 | + return this.shopId; | ||
79 | + } | ||
80 | + public void setBeginTime (Date beginTime){ | ||
81 | + this.beginTime = beginTime; | ||
82 | + } | ||
83 | + public Date getBeginTime(){ | ||
84 | + return this.beginTime; | ||
85 | + } | ||
86 | + public void setEndTime (Date endTime){ | ||
87 | + this.endTime = endTime; | ||
88 | + } | ||
89 | + public Date getEndTime(){ | ||
90 | + return this.endTime; | ||
91 | + } | ||
92 | + public void setYn (Integer yn){ | ||
93 | + this.yn = yn; | ||
94 | + } | ||
95 | + public Integer getYn(){ | ||
96 | + return this.yn; | ||
97 | + } | ||
98 | + public void setCreated (Date created){ | ||
99 | + this.created = created; | ||
100 | + } | ||
101 | + public Date getCreated(){ | ||
102 | + return this.created; | ||
103 | + } | ||
104 | + public void setModified (Date modified){ | ||
105 | + this.modified = modified; | ||
106 | + } | ||
107 | + public Date getModified(){ | ||
108 | + return this.modified; | ||
109 | + } | ||
110 | + public Integer getPageNum() {return pageNum;} | ||
111 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
112 | + public Integer getPageSize() {return pageSize;} | ||
113 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
114 | + | ||
115 | + public String toString(){ | ||
116 | + StringBuffer sb = new StringBuffer(); | ||
117 | + sb.append("DeliveryTime ["); | ||
118 | + sb.append("id = "); | ||
119 | + sb.append(id); | ||
120 | + sb.append(", shopId = "); | ||
121 | + sb.append(shopId); | ||
122 | + sb.append(", beginTime = "); | ||
123 | + sb.append(beginTime); | ||
124 | + sb.append(", endTime = "); | ||
125 | + sb.append(endTime); | ||
126 | + sb.append(", yn = "); | ||
127 | + sb.append(yn); | ||
128 | + sb.append(", created = "); | ||
129 | + sb.append(created); | ||
130 | + sb.append(", modified = "); | ||
131 | + sb.append(modified); | ||
132 | + sb.append("]"); | ||
133 | + return sb.toString(); | ||
134 | + } | ||
135 | +} | ||
0 | \ No newline at end of file | 136 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeSaveInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeSaveInput.java | ||
1 | +package com.dili.myapp.api.deliveryTime.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:14 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class DeliveryTimeSaveInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 店铺ID | ||
25 | + */ | ||
26 | + @ApiParam(value = "店铺ID",required = true) | ||
27 | + @NotNull(message="店铺ID不能为空") | ||
28 | + private Long shopId; | ||
29 | + /** | ||
30 | + * 送货开始时间 | ||
31 | + */ | ||
32 | + @ApiParam(value = "送货开始时间",required = true) | ||
33 | + @NotNull(message="送货开始时间不能为空") | ||
34 | + private Date beginTime; | ||
35 | + /** | ||
36 | + * 送货结束时间 | ||
37 | + */ | ||
38 | + @ApiParam(value = "送货结束时间",required = true) | ||
39 | + @NotNull(message="送货结束时间不能为空") | ||
40 | + private Date endTime; | ||
41 | + /** | ||
42 | + * 状态(1:有效 2:无效) | ||
43 | + */ | ||
44 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
45 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
46 | + private Integer yn; | ||
47 | + /** | ||
48 | + * | ||
49 | + */ | ||
50 | + @ApiParam(value = "",required = true) | ||
51 | + @NotNull(message="不能为空") | ||
52 | + private Date created; | ||
53 | + /** | ||
54 | + * | ||
55 | + */ | ||
56 | + @ApiParam(value = "",required = true) | ||
57 | + @NotNull(message="不能为空") | ||
58 | + private Date modified; | ||
59 | + | ||
60 | + public void setShopId (Long shopId){ | ||
61 | + this.shopId = shopId; | ||
62 | + } | ||
63 | + public Long getShopId(){ | ||
64 | + return this.shopId; | ||
65 | + } | ||
66 | + public void setBeginTime (Date beginTime){ | ||
67 | + this.beginTime = beginTime; | ||
68 | + } | ||
69 | + public Date getBeginTime(){ | ||
70 | + return this.beginTime; | ||
71 | + } | ||
72 | + public void setEndTime (Date endTime){ | ||
73 | + this.endTime = endTime; | ||
74 | + } | ||
75 | + public Date getEndTime(){ | ||
76 | + return this.endTime; | ||
77 | + } | ||
78 | + public void setYn (Integer yn){ | ||
79 | + this.yn = yn; | ||
80 | + } | ||
81 | + public Integer getYn(){ | ||
82 | + return this.yn; | ||
83 | + } | ||
84 | + public void setCreated (Date created){ | ||
85 | + this.created = created; | ||
86 | + } | ||
87 | + public Date getCreated(){ | ||
88 | + return this.created; | ||
89 | + } | ||
90 | + public void setModified (Date modified){ | ||
91 | + this.modified = modified; | ||
92 | + } | ||
93 | + public Date getModified(){ | ||
94 | + return this.modified; | ||
95 | + } | ||
96 | + | ||
97 | + public String toString(){ | ||
98 | + StringBuffer sb = new StringBuffer(); | ||
99 | + sb.append("DeliveryTime ["); | ||
100 | + sb.append(", shopId = "); | ||
101 | + sb.append(shopId); | ||
102 | + sb.append(", beginTime = "); | ||
103 | + sb.append(beginTime); | ||
104 | + sb.append(", endTime = "); | ||
105 | + sb.append(endTime); | ||
106 | + sb.append(", yn = "); | ||
107 | + sb.append(yn); | ||
108 | + sb.append(", created = "); | ||
109 | + sb.append(created); | ||
110 | + sb.append(", modified = "); | ||
111 | + sb.append(modified); | ||
112 | + sb.append("]"); | ||
113 | + return sb.toString(); | ||
114 | + } | ||
115 | +} | ||
0 | \ No newline at end of file | 116 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeUpdateInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/deliveryTime/input/DeliveryTimeUpdateInput.java | ||
1 | +package com.dili.myapp.api.deliveryTime.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:14 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class DeliveryTimeUpdateInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 店铺ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "店铺ID",required = true) | ||
33 | + @NotNull(message="店铺ID不能为空") | ||
34 | + private Long shopId; | ||
35 | + /** | ||
36 | + * 送货开始时间 | ||
37 | + */ | ||
38 | + @ApiParam(value = "送货开始时间",required = true) | ||
39 | + @NotNull(message="送货开始时间不能为空") | ||
40 | + private Date beginTime; | ||
41 | + /** | ||
42 | + * 送货结束时间 | ||
43 | + */ | ||
44 | + @ApiParam(value = "送货结束时间",required = true) | ||
45 | + @NotNull(message="送货结束时间不能为空") | ||
46 | + private Date endTime; | ||
47 | + /** | ||
48 | + * 状态(1:有效 2:无效) | ||
49 | + */ | ||
50 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
51 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
52 | + private Integer yn; | ||
53 | + /** | ||
54 | + * | ||
55 | + */ | ||
56 | + @ApiParam(value = "",required = true) | ||
57 | + @NotNull(message="不能为空") | ||
58 | + private Date created; | ||
59 | + /** | ||
60 | + * | ||
61 | + */ | ||
62 | + @ApiParam(value = "",required = true) | ||
63 | + @NotNull(message="不能为空") | ||
64 | + private Date modified; | ||
65 | + | ||
66 | + public void setId (Long id){ | ||
67 | + this.id = id; | ||
68 | + } | ||
69 | + public Long getId(){ | ||
70 | + return this.id; | ||
71 | + } | ||
72 | + public void setShopId (Long shopId){ | ||
73 | + this.shopId = shopId; | ||
74 | + } | ||
75 | + public Long getShopId(){ | ||
76 | + return this.shopId; | ||
77 | + } | ||
78 | + public void setBeginTime (Date beginTime){ | ||
79 | + this.beginTime = beginTime; | ||
80 | + } | ||
81 | + public Date getBeginTime(){ | ||
82 | + return this.beginTime; | ||
83 | + } | ||
84 | + public void setEndTime (Date endTime){ | ||
85 | + this.endTime = endTime; | ||
86 | + } | ||
87 | + public Date getEndTime(){ | ||
88 | + return this.endTime; | ||
89 | + } | ||
90 | + public void setYn (Integer yn){ | ||
91 | + this.yn = yn; | ||
92 | + } | ||
93 | + public Integer getYn(){ | ||
94 | + return this.yn; | ||
95 | + } | ||
96 | + public void setCreated (Date created){ | ||
97 | + this.created = created; | ||
98 | + } | ||
99 | + public Date getCreated(){ | ||
100 | + return this.created; | ||
101 | + } | ||
102 | + public void setModified (Date modified){ | ||
103 | + this.modified = modified; | ||
104 | + } | ||
105 | + public Date getModified(){ | ||
106 | + return this.modified; | ||
107 | + } | ||
108 | + | ||
109 | + public String toString(){ | ||
110 | + StringBuffer sb = new StringBuffer(); | ||
111 | + sb.append("DeliveryTime ["); | ||
112 | + sb.append("id = "); | ||
113 | + sb.append(id); | ||
114 | + sb.append(", shopId = "); | ||
115 | + sb.append(shopId); | ||
116 | + sb.append(", beginTime = "); | ||
117 | + sb.append(beginTime); | ||
118 | + sb.append(", endTime = "); | ||
119 | + sb.append(endTime); | ||
120 | + sb.append(", yn = "); | ||
121 | + sb.append(yn); | ||
122 | + sb.append(", created = "); | ||
123 | + sb.append(created); | ||
124 | + sb.append(", modified = "); | ||
125 | + sb.append(modified); | ||
126 | + sb.append("]"); | ||
127 | + return sb.toString(); | ||
128 | + } | ||
129 | +} | ||
0 | \ No newline at end of file | 130 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/deliveryTime/output/DeliveryTimeOutput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/deliveryTime/output/DeliveryTimeOutput.java | ||
1 | +package com.dili.myapp.api.deliveryTime.output; | ||
2 | + | ||
3 | +import io.swagger.annotations.ApiModelProperty; | ||
4 | + | ||
5 | +import java.io.Serializable; | ||
6 | +import java.util.*; | ||
7 | +import java.sql.Timestamp; | ||
8 | + | ||
9 | + | ||
10 | +/** | ||
11 | + * <br /> | ||
12 | + * @createTime 2016-11-23 17:19:15 | ||
13 | + * @author template | ||
14 | + */ | ||
15 | +public class DeliveryTimeOutput implements Serializable { | ||
16 | + | ||
17 | + /** | ||
18 | + * | ||
19 | + */ | ||
20 | + @ApiModelProperty(value = "") | ||
21 | + private Long id; | ||
22 | + /** | ||
23 | + * 店铺ID | ||
24 | + */ | ||
25 | + @ApiModelProperty(value = "店铺ID") | ||
26 | + private Long shopId; | ||
27 | + /** | ||
28 | + * 送货开始时间 | ||
29 | + */ | ||
30 | + @ApiModelProperty(value = "送货开始时间") | ||
31 | + private Date beginTime; | ||
32 | + /** | ||
33 | + * 送货结束时间 | ||
34 | + */ | ||
35 | + @ApiModelProperty(value = "送货结束时间") | ||
36 | + private Date endTime; | ||
37 | + /** | ||
38 | + * 状态(1:有效 2:无效) | ||
39 | + */ | ||
40 | + @ApiModelProperty(value = "状态(1:有效 2:无效)") | ||
41 | + private Integer yn; | ||
42 | + /** | ||
43 | + * | ||
44 | + */ | ||
45 | + @ApiModelProperty(value = "") | ||
46 | + private Date created; | ||
47 | + /** | ||
48 | + * | ||
49 | + */ | ||
50 | + @ApiModelProperty(value = "") | ||
51 | + private Date modified; | ||
52 | + public void setId (Long id){ | ||
53 | + this.id = id; | ||
54 | + } | ||
55 | + public Long getId(){ | ||
56 | + return this.id; | ||
57 | + } | ||
58 | + public void setShopId (Long shopId){ | ||
59 | + this.shopId = shopId; | ||
60 | + } | ||
61 | + public Long getShopId(){ | ||
62 | + return this.shopId; | ||
63 | + } | ||
64 | + public void setBeginTime (Date beginTime){ | ||
65 | + this.beginTime = beginTime; | ||
66 | + } | ||
67 | + public Date getBeginTime(){ | ||
68 | + return this.beginTime; | ||
69 | + } | ||
70 | + public void setEndTime (Date endTime){ | ||
71 | + this.endTime = endTime; | ||
72 | + } | ||
73 | + public Date getEndTime(){ | ||
74 | + return this.endTime; | ||
75 | + } | ||
76 | + public void setYn (Integer yn){ | ||
77 | + this.yn = yn; | ||
78 | + } | ||
79 | + public Integer getYn(){ | ||
80 | + return this.yn; | ||
81 | + } | ||
82 | + public void setCreated (Date created){ | ||
83 | + this.created = created; | ||
84 | + } | ||
85 | + public Date getCreated(){ | ||
86 | + return this.created; | ||
87 | + } | ||
88 | + public void setModified (Date modified){ | ||
89 | + this.modified = modified; | ||
90 | + } | ||
91 | + public Date getModified(){ | ||
92 | + return this.modified; | ||
93 | + } | ||
94 | + | ||
95 | + public String toString(){ | ||
96 | + StringBuffer sb = new StringBuffer(); | ||
97 | + sb.append("DeliveryTime ["); | ||
98 | + sb.append("id = "); | ||
99 | + sb.append(id); | ||
100 | + sb.append(", shopId = "); | ||
101 | + sb.append(shopId); | ||
102 | + sb.append(", beginTime = "); | ||
103 | + sb.append(beginTime); | ||
104 | + sb.append(", endTime = "); | ||
105 | + sb.append(endTime); | ||
106 | + sb.append(", yn = "); | ||
107 | + sb.append(yn); | ||
108 | + sb.append(", created = "); | ||
109 | + sb.append(created); | ||
110 | + sb.append(", modified = "); | ||
111 | + sb.append(modified); | ||
112 | + sb.append("]"); | ||
113 | + return sb.toString(); | ||
114 | + } | ||
115 | +} | ||
0 | \ No newline at end of file | 116 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeInput.java | ||
1 | +package com.dili.myapp.api.foundTrade.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:15 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class FoundTradeInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 交易ID | ||
25 | + */ | ||
26 | + @ApiParam(value = "交易ID",required = true) | ||
27 | + @NotNull(message="交易ID不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 资金账户ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "资金账户ID",required = true) | ||
33 | + @NotNull(message="资金账户ID不能为空") | ||
34 | + private Long shopBuyerId; | ||
35 | + /** | ||
36 | + * 买家ID | ||
37 | + */ | ||
38 | + @ApiParam(value = "买家ID",required = true) | ||
39 | + @NotNull(message="买家ID不能为空") | ||
40 | + private Long buyerId; | ||
41 | + /** | ||
42 | + * 卖家ID | ||
43 | + */ | ||
44 | + @ApiParam(value = "卖家ID",required = true) | ||
45 | + @NotNull(message="卖家ID不能为空") | ||
46 | + private Long sellerId; | ||
47 | + /** | ||
48 | + * 店铺ID | ||
49 | + */ | ||
50 | + @ApiParam(value = "店铺ID",required = true) | ||
51 | + @NotNull(message="店铺ID不能为空") | ||
52 | + private Long shopId; | ||
53 | + /** | ||
54 | + * 订单编号 | ||
55 | + */ | ||
56 | + @ApiParam(value = "订单编号",required = true) | ||
57 | + @NotNull(message="订单编号不能为空") | ||
58 | + private Long orderId; | ||
59 | + /** | ||
60 | + * 交易名称 | ||
61 | + */ | ||
62 | + @ApiParam(value = "交易名称",required = true) | ||
63 | + @NotBlank(message="交易名称不能为空") | ||
64 | + private String tradeName; | ||
65 | + /** | ||
66 | + * 交易金额 | ||
67 | + */ | ||
68 | + @ApiParam(value = "交易金额",required = true) | ||
69 | + @NotNull(message="交易金额不能为空") | ||
70 | + private Long tradePrice; | ||
71 | + /** | ||
72 | + * 交易类型(1:充值 2:冻结3:消费) | ||
73 | + */ | ||
74 | + @ApiParam(value = "交易类型(1:充值 2:冻结3:消费)",required = true) | ||
75 | + @NotNull(message="交易类型(1:充值 2:冻结3:消费)不能为空") | ||
76 | + private Integer tradeType; | ||
77 | + /** | ||
78 | + * | ||
79 | + */ | ||
80 | + @ApiParam(value = "",required = true) | ||
81 | + @NotNull(message="不能为空") | ||
82 | + private Integer yn; | ||
83 | + /** | ||
84 | + * 交易时间 | ||
85 | + */ | ||
86 | + @ApiParam(value = "交易时间",required = true) | ||
87 | + @NotNull(message="交易时间不能为空") | ||
88 | + private Date created; | ||
89 | + /** | ||
90 | + * | ||
91 | + */ | ||
92 | + @ApiParam(value = "",required = true) | ||
93 | + @NotNull(message="不能为空") | ||
94 | + private Date modified; | ||
95 | + /** | ||
96 | + * 当前页数 | ||
97 | + */ | ||
98 | + private Integer pageNum; | ||
99 | + /** | ||
100 | + * 每个数量 | ||
101 | + */ | ||
102 | + private Integer pageSize; | ||
103 | + public void setId (Long id){ | ||
104 | + this.id = id; | ||
105 | + } | ||
106 | + public Long getId(){ | ||
107 | + return this.id; | ||
108 | + } | ||
109 | + public void setShopBuyerId (Long shopBuyerId){ | ||
110 | + this.shopBuyerId = shopBuyerId; | ||
111 | + } | ||
112 | + public Long getShopBuyerId(){ | ||
113 | + return this.shopBuyerId; | ||
114 | + } | ||
115 | + public void setBuyerId (Long buyerId){ | ||
116 | + this.buyerId = buyerId; | ||
117 | + } | ||
118 | + public Long getBuyerId(){ | ||
119 | + return this.buyerId; | ||
120 | + } | ||
121 | + public void setSellerId (Long sellerId){ | ||
122 | + this.sellerId = sellerId; | ||
123 | + } | ||
124 | + public Long getSellerId(){ | ||
125 | + return this.sellerId; | ||
126 | + } | ||
127 | + public void setShopId (Long shopId){ | ||
128 | + this.shopId = shopId; | ||
129 | + } | ||
130 | + public Long getShopId(){ | ||
131 | + return this.shopId; | ||
132 | + } | ||
133 | + public void setOrderId (Long orderId){ | ||
134 | + this.orderId = orderId; | ||
135 | + } | ||
136 | + public Long getOrderId(){ | ||
137 | + return this.orderId; | ||
138 | + } | ||
139 | + public void setTradeName (String tradeName){ | ||
140 | + this.tradeName = tradeName; | ||
141 | + } | ||
142 | + public String getTradeName(){ | ||
143 | + return this.tradeName; | ||
144 | + } | ||
145 | + public void setTradePrice (Long tradePrice){ | ||
146 | + this.tradePrice = tradePrice; | ||
147 | + } | ||
148 | + public Long getTradePrice(){ | ||
149 | + return this.tradePrice; | ||
150 | + } | ||
151 | + public void setTradeType (Integer tradeType){ | ||
152 | + this.tradeType = tradeType; | ||
153 | + } | ||
154 | + public Integer getTradeType(){ | ||
155 | + return this.tradeType; | ||
156 | + } | ||
157 | + public void setYn (Integer yn){ | ||
158 | + this.yn = yn; | ||
159 | + } | ||
160 | + public Integer getYn(){ | ||
161 | + return this.yn; | ||
162 | + } | ||
163 | + public void setCreated (Date created){ | ||
164 | + this.created = created; | ||
165 | + } | ||
166 | + public Date getCreated(){ | ||
167 | + return this.created; | ||
168 | + } | ||
169 | + public void setModified (Date modified){ | ||
170 | + this.modified = modified; | ||
171 | + } | ||
172 | + public Date getModified(){ | ||
173 | + return this.modified; | ||
174 | + } | ||
175 | + public Integer getPageNum() {return pageNum;} | ||
176 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
177 | + public Integer getPageSize() {return pageSize;} | ||
178 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
179 | + | ||
180 | + public String toString(){ | ||
181 | + StringBuffer sb = new StringBuffer(); | ||
182 | + sb.append("FoundTrade ["); | ||
183 | + sb.append("id = "); | ||
184 | + sb.append(id); | ||
185 | + sb.append(", shopBuyerId = "); | ||
186 | + sb.append(shopBuyerId); | ||
187 | + sb.append(", buyerId = "); | ||
188 | + sb.append(buyerId); | ||
189 | + sb.append(", sellerId = "); | ||
190 | + sb.append(sellerId); | ||
191 | + sb.append(", shopId = "); | ||
192 | + sb.append(shopId); | ||
193 | + sb.append(", orderId = "); | ||
194 | + sb.append(orderId); | ||
195 | + sb.append(", tradeName = "); | ||
196 | + sb.append(tradeName); | ||
197 | + sb.append(", tradePrice = "); | ||
198 | + sb.append(tradePrice); | ||
199 | + sb.append(", tradeType = "); | ||
200 | + sb.append(tradeType); | ||
201 | + sb.append(", yn = "); | ||
202 | + sb.append(yn); | ||
203 | + sb.append(", created = "); | ||
204 | + sb.append(created); | ||
205 | + sb.append(", modified = "); | ||
206 | + sb.append(modified); | ||
207 | + sb.append("]"); | ||
208 | + return sb.toString(); | ||
209 | + } | ||
210 | +} | ||
0 | \ No newline at end of file | 211 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeListInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeListInput.java | ||
1 | +package com.dili.myapp.api.foundTrade.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | +import com.dili.myapp.utils.base.BaseQuery; | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | +/** | ||
19 | + * <br /> | ||
20 | + * @createTime 2016-11-23 17:19:15 | ||
21 | + * @author template | ||
22 | + */ | ||
23 | +public class FoundTradeListInput extends BaseQuery implements Serializable{ | ||
24 | + | ||
25 | + /** | ||
26 | + * 交易ID | ||
27 | + */ | ||
28 | + @ApiParam(value = "交易ID") | ||
29 | + private Long id; | ||
30 | + /** | ||
31 | + * 资金账户ID | ||
32 | + */ | ||
33 | + @ApiParam(value = "资金账户ID") | ||
34 | + private Long shopBuyerId; | ||
35 | + /** | ||
36 | + * 买家ID | ||
37 | + */ | ||
38 | + @ApiParam(value = "买家ID") | ||
39 | + private Long buyerId; | ||
40 | + /** | ||
41 | + * 卖家ID | ||
42 | + */ | ||
43 | + @ApiParam(value = "卖家ID") | ||
44 | + private Long sellerId; | ||
45 | + /** | ||
46 | + * 店铺ID | ||
47 | + */ | ||
48 | + @ApiParam(value = "店铺ID") | ||
49 | + private Long shopId; | ||
50 | + /** | ||
51 | + * 订单编号 | ||
52 | + */ | ||
53 | + @ApiParam(value = "订单编号") | ||
54 | + private Long orderId; | ||
55 | + /** | ||
56 | + * 交易名称 | ||
57 | + */ | ||
58 | + @ApiParam(value = "交易名称") | ||
59 | + private String tradeName; | ||
60 | + /** | ||
61 | + * 交易金额 | ||
62 | + */ | ||
63 | + @ApiParam(value = "交易金额") | ||
64 | + private Long tradePrice; | ||
65 | + /** | ||
66 | + * 交易类型(1:充值 2:冻结3:消费) | ||
67 | + */ | ||
68 | + @ApiParam(value = "交易类型(1:充值 2:冻结3:消费)") | ||
69 | + private Integer tradeType; | ||
70 | + /** | ||
71 | + * | ||
72 | + */ | ||
73 | + @ApiParam(value = "") | ||
74 | + private Integer yn; | ||
75 | + /** | ||
76 | + * 交易时间 | ||
77 | + */ | ||
78 | + @ApiParam(value = "交易时间") | ||
79 | + private Date created; | ||
80 | + /** | ||
81 | + * | ||
82 | + */ | ||
83 | + @ApiParam(value = "") | ||
84 | + private Date modified; | ||
85 | + /** | ||
86 | + * 当前页数 | ||
87 | + */ | ||
88 | + private Integer pageNum; | ||
89 | + /** | ||
90 | + * 每个数量 | ||
91 | + */ | ||
92 | + private Integer pageSize; | ||
93 | + public void setId (Long id){ | ||
94 | + this.id = id; | ||
95 | + } | ||
96 | + public Long getId(){ | ||
97 | + return this.id; | ||
98 | + } | ||
99 | + public void setShopBuyerId (Long shopBuyerId){ | ||
100 | + this.shopBuyerId = shopBuyerId; | ||
101 | + } | ||
102 | + public Long getShopBuyerId(){ | ||
103 | + return this.shopBuyerId; | ||
104 | + } | ||
105 | + public void setBuyerId (Long buyerId){ | ||
106 | + this.buyerId = buyerId; | ||
107 | + } | ||
108 | + public Long getBuyerId(){ | ||
109 | + return this.buyerId; | ||
110 | + } | ||
111 | + public void setSellerId (Long sellerId){ | ||
112 | + this.sellerId = sellerId; | ||
113 | + } | ||
114 | + public Long getSellerId(){ | ||
115 | + return this.sellerId; | ||
116 | + } | ||
117 | + public void setShopId (Long shopId){ | ||
118 | + this.shopId = shopId; | ||
119 | + } | ||
120 | + public Long getShopId(){ | ||
121 | + return this.shopId; | ||
122 | + } | ||
123 | + public void setOrderId (Long orderId){ | ||
124 | + this.orderId = orderId; | ||
125 | + } | ||
126 | + public Long getOrderId(){ | ||
127 | + return this.orderId; | ||
128 | + } | ||
129 | + public void setTradeName (String tradeName){ | ||
130 | + this.tradeName = tradeName; | ||
131 | + } | ||
132 | + public String getTradeName(){ | ||
133 | + return this.tradeName; | ||
134 | + } | ||
135 | + public void setTradePrice (Long tradePrice){ | ||
136 | + this.tradePrice = tradePrice; | ||
137 | + } | ||
138 | + public Long getTradePrice(){ | ||
139 | + return this.tradePrice; | ||
140 | + } | ||
141 | + public void setTradeType (Integer tradeType){ | ||
142 | + this.tradeType = tradeType; | ||
143 | + } | ||
144 | + public Integer getTradeType(){ | ||
145 | + return this.tradeType; | ||
146 | + } | ||
147 | + public void setYn (Integer yn){ | ||
148 | + this.yn = yn; | ||
149 | + } | ||
150 | + public Integer getYn(){ | ||
151 | + return this.yn; | ||
152 | + } | ||
153 | + public void setCreated (Date created){ | ||
154 | + this.created = created; | ||
155 | + } | ||
156 | + public Date getCreated(){ | ||
157 | + return this.created; | ||
158 | + } | ||
159 | + public void setModified (Date modified){ | ||
160 | + this.modified = modified; | ||
161 | + } | ||
162 | + public Date getModified(){ | ||
163 | + return this.modified; | ||
164 | + } | ||
165 | + public Integer getPageNum() {return pageNum;} | ||
166 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
167 | + public Integer getPageSize() {return pageSize;} | ||
168 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
169 | + | ||
170 | + public String toString(){ | ||
171 | + StringBuffer sb = new StringBuffer(); | ||
172 | + sb.append("FoundTrade ["); | ||
173 | + sb.append("id = "); | ||
174 | + sb.append(id); | ||
175 | + sb.append(", shopBuyerId = "); | ||
176 | + sb.append(shopBuyerId); | ||
177 | + sb.append(", buyerId = "); | ||
178 | + sb.append(buyerId); | ||
179 | + sb.append(", sellerId = "); | ||
180 | + sb.append(sellerId); | ||
181 | + sb.append(", shopId = "); | ||
182 | + sb.append(shopId); | ||
183 | + sb.append(", orderId = "); | ||
184 | + sb.append(orderId); | ||
185 | + sb.append(", tradeName = "); | ||
186 | + sb.append(tradeName); | ||
187 | + sb.append(", tradePrice = "); | ||
188 | + sb.append(tradePrice); | ||
189 | + sb.append(", tradeType = "); | ||
190 | + sb.append(tradeType); | ||
191 | + sb.append(", yn = "); | ||
192 | + sb.append(yn); | ||
193 | + sb.append(", created = "); | ||
194 | + sb.append(created); | ||
195 | + sb.append(", modified = "); | ||
196 | + sb.append(modified); | ||
197 | + sb.append("]"); | ||
198 | + return sb.toString(); | ||
199 | + } | ||
200 | +} | ||
0 | \ No newline at end of file | 201 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeSaveInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeSaveInput.java | ||
1 | +package com.dili.myapp.api.foundTrade.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:15 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class FoundTradeSaveInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 资金账户ID | ||
25 | + */ | ||
26 | + @ApiParam(value = "资金账户ID",required = true) | ||
27 | + @NotNull(message="资金账户ID不能为空") | ||
28 | + private Long shopBuyerId; | ||
29 | + /** | ||
30 | + * 买家ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "买家ID",required = true) | ||
33 | + @NotNull(message="买家ID不能为空") | ||
34 | + private Long buyerId; | ||
35 | + /** | ||
36 | + * 卖家ID | ||
37 | + */ | ||
38 | + @ApiParam(value = "卖家ID",required = true) | ||
39 | + @NotNull(message="卖家ID不能为空") | ||
40 | + private Long sellerId; | ||
41 | + /** | ||
42 | + * 店铺ID | ||
43 | + */ | ||
44 | + @ApiParam(value = "店铺ID",required = true) | ||
45 | + @NotNull(message="店铺ID不能为空") | ||
46 | + private Long shopId; | ||
47 | + /** | ||
48 | + * 订单编号 | ||
49 | + */ | ||
50 | + @ApiParam(value = "订单编号",required = true) | ||
51 | + @NotNull(message="订单编号不能为空") | ||
52 | + private Long orderId; | ||
53 | + /** | ||
54 | + * 交易名称 | ||
55 | + */ | ||
56 | + @ApiParam(value = "交易名称",required = true) | ||
57 | + @NotBlank(message="交易名称不能为空") | ||
58 | + private String tradeName; | ||
59 | + /** | ||
60 | + * 交易金额 | ||
61 | + */ | ||
62 | + @ApiParam(value = "交易金额",required = true) | ||
63 | + @NotNull(message="交易金额不能为空") | ||
64 | + private Long tradePrice; | ||
65 | + /** | ||
66 | + * 交易类型(1:充值 2:冻结3:消费) | ||
67 | + */ | ||
68 | + @ApiParam(value = "交易类型(1:充值 2:冻结3:消费)",required = true) | ||
69 | + @NotNull(message="交易类型(1:充值 2:冻结3:消费)不能为空") | ||
70 | + private Integer tradeType; | ||
71 | + /** | ||
72 | + * | ||
73 | + */ | ||
74 | + @ApiParam(value = "",required = true) | ||
75 | + @NotNull(message="不能为空") | ||
76 | + private Integer yn; | ||
77 | + /** | ||
78 | + * 交易时间 | ||
79 | + */ | ||
80 | + @ApiParam(value = "交易时间",required = true) | ||
81 | + @NotNull(message="交易时间不能为空") | ||
82 | + private Date created; | ||
83 | + /** | ||
84 | + * | ||
85 | + */ | ||
86 | + @ApiParam(value = "",required = true) | ||
87 | + @NotNull(message="不能为空") | ||
88 | + private Date modified; | ||
89 | + | ||
90 | + public void setShopBuyerId (Long shopBuyerId){ | ||
91 | + this.shopBuyerId = shopBuyerId; | ||
92 | + } | ||
93 | + public Long getShopBuyerId(){ | ||
94 | + return this.shopBuyerId; | ||
95 | + } | ||
96 | + public void setBuyerId (Long buyerId){ | ||
97 | + this.buyerId = buyerId; | ||
98 | + } | ||
99 | + public Long getBuyerId(){ | ||
100 | + return this.buyerId; | ||
101 | + } | ||
102 | + public void setSellerId (Long sellerId){ | ||
103 | + this.sellerId = sellerId; | ||
104 | + } | ||
105 | + public Long getSellerId(){ | ||
106 | + return this.sellerId; | ||
107 | + } | ||
108 | + public void setShopId (Long shopId){ | ||
109 | + this.shopId = shopId; | ||
110 | + } | ||
111 | + public Long getShopId(){ | ||
112 | + return this.shopId; | ||
113 | + } | ||
114 | + public void setOrderId (Long orderId){ | ||
115 | + this.orderId = orderId; | ||
116 | + } | ||
117 | + public Long getOrderId(){ | ||
118 | + return this.orderId; | ||
119 | + } | ||
120 | + public void setTradeName (String tradeName){ | ||
121 | + this.tradeName = tradeName; | ||
122 | + } | ||
123 | + public String getTradeName(){ | ||
124 | + return this.tradeName; | ||
125 | + } | ||
126 | + public void setTradePrice (Long tradePrice){ | ||
127 | + this.tradePrice = tradePrice; | ||
128 | + } | ||
129 | + public Long getTradePrice(){ | ||
130 | + return this.tradePrice; | ||
131 | + } | ||
132 | + public void setTradeType (Integer tradeType){ | ||
133 | + this.tradeType = tradeType; | ||
134 | + } | ||
135 | + public Integer getTradeType(){ | ||
136 | + return this.tradeType; | ||
137 | + } | ||
138 | + public void setYn (Integer yn){ | ||
139 | + this.yn = yn; | ||
140 | + } | ||
141 | + public Integer getYn(){ | ||
142 | + return this.yn; | ||
143 | + } | ||
144 | + public void setCreated (Date created){ | ||
145 | + this.created = created; | ||
146 | + } | ||
147 | + public Date getCreated(){ | ||
148 | + return this.created; | ||
149 | + } | ||
150 | + public void setModified (Date modified){ | ||
151 | + this.modified = modified; | ||
152 | + } | ||
153 | + public Date getModified(){ | ||
154 | + return this.modified; | ||
155 | + } | ||
156 | + | ||
157 | + public String toString(){ | ||
158 | + StringBuffer sb = new StringBuffer(); | ||
159 | + sb.append("FoundTrade ["); | ||
160 | + sb.append(", shopBuyerId = "); | ||
161 | + sb.append(shopBuyerId); | ||
162 | + sb.append(", buyerId = "); | ||
163 | + sb.append(buyerId); | ||
164 | + sb.append(", sellerId = "); | ||
165 | + sb.append(sellerId); | ||
166 | + sb.append(", shopId = "); | ||
167 | + sb.append(shopId); | ||
168 | + sb.append(", orderId = "); | ||
169 | + sb.append(orderId); | ||
170 | + sb.append(", tradeName = "); | ||
171 | + sb.append(tradeName); | ||
172 | + sb.append(", tradePrice = "); | ||
173 | + sb.append(tradePrice); | ||
174 | + sb.append(", tradeType = "); | ||
175 | + sb.append(tradeType); | ||
176 | + sb.append(", yn = "); | ||
177 | + sb.append(yn); | ||
178 | + sb.append(", created = "); | ||
179 | + sb.append(created); | ||
180 | + sb.append(", modified = "); | ||
181 | + sb.append(modified); | ||
182 | + sb.append("]"); | ||
183 | + return sb.toString(); | ||
184 | + } | ||
185 | +} | ||
0 | \ No newline at end of file | 186 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeUpdateInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/foundTrade/input/FoundTradeUpdateInput.java | ||
1 | +package com.dili.myapp.api.foundTrade.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:15 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class FoundTradeUpdateInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 交易ID | ||
25 | + */ | ||
26 | + @ApiParam(value = "交易ID",required = true) | ||
27 | + @NotNull(message="交易ID不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 资金账户ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "资金账户ID",required = true) | ||
33 | + @NotNull(message="资金账户ID不能为空") | ||
34 | + private Long shopBuyerId; | ||
35 | + /** | ||
36 | + * 买家ID | ||
37 | + */ | ||
38 | + @ApiParam(value = "买家ID",required = true) | ||
39 | + @NotNull(message="买家ID不能为空") | ||
40 | + private Long buyerId; | ||
41 | + /** | ||
42 | + * 卖家ID | ||
43 | + */ | ||
44 | + @ApiParam(value = "卖家ID",required = true) | ||
45 | + @NotNull(message="卖家ID不能为空") | ||
46 | + private Long sellerId; | ||
47 | + /** | ||
48 | + * 店铺ID | ||
49 | + */ | ||
50 | + @ApiParam(value = "店铺ID",required = true) | ||
51 | + @NotNull(message="店铺ID不能为空") | ||
52 | + private Long shopId; | ||
53 | + /** | ||
54 | + * 订单编号 | ||
55 | + */ | ||
56 | + @ApiParam(value = "订单编号",required = true) | ||
57 | + @NotNull(message="订单编号不能为空") | ||
58 | + private Long orderId; | ||
59 | + /** | ||
60 | + * 交易名称 | ||
61 | + */ | ||
62 | + @ApiParam(value = "交易名称",required = true) | ||
63 | + @NotBlank(message="交易名称不能为空") | ||
64 | + private String tradeName; | ||
65 | + /** | ||
66 | + * 交易金额 | ||
67 | + */ | ||
68 | + @ApiParam(value = "交易金额",required = true) | ||
69 | + @NotNull(message="交易金额不能为空") | ||
70 | + private Long tradePrice; | ||
71 | + /** | ||
72 | + * 交易类型(1:充值 2:冻结3:消费) | ||
73 | + */ | ||
74 | + @ApiParam(value = "交易类型(1:充值 2:冻结3:消费)",required = true) | ||
75 | + @NotNull(message="交易类型(1:充值 2:冻结3:消费)不能为空") | ||
76 | + private Integer tradeType; | ||
77 | + /** | ||
78 | + * | ||
79 | + */ | ||
80 | + @ApiParam(value = "",required = true) | ||
81 | + @NotNull(message="不能为空") | ||
82 | + private Integer yn; | ||
83 | + /** | ||
84 | + * 交易时间 | ||
85 | + */ | ||
86 | + @ApiParam(value = "交易时间",required = true) | ||
87 | + @NotNull(message="交易时间不能为空") | ||
88 | + private Date created; | ||
89 | + /** | ||
90 | + * | ||
91 | + */ | ||
92 | + @ApiParam(value = "",required = true) | ||
93 | + @NotNull(message="不能为空") | ||
94 | + private Date modified; | ||
95 | + | ||
96 | + public void setId (Long id){ | ||
97 | + this.id = id; | ||
98 | + } | ||
99 | + public Long getId(){ | ||
100 | + return this.id; | ||
101 | + } | ||
102 | + public void setShopBuyerId (Long shopBuyerId){ | ||
103 | + this.shopBuyerId = shopBuyerId; | ||
104 | + } | ||
105 | + public Long getShopBuyerId(){ | ||
106 | + return this.shopBuyerId; | ||
107 | + } | ||
108 | + public void setBuyerId (Long buyerId){ | ||
109 | + this.buyerId = buyerId; | ||
110 | + } | ||
111 | + public Long getBuyerId(){ | ||
112 | + return this.buyerId; | ||
113 | + } | ||
114 | + public void setSellerId (Long sellerId){ | ||
115 | + this.sellerId = sellerId; | ||
116 | + } | ||
117 | + public Long getSellerId(){ | ||
118 | + return this.sellerId; | ||
119 | + } | ||
120 | + public void setShopId (Long shopId){ | ||
121 | + this.shopId = shopId; | ||
122 | + } | ||
123 | + public Long getShopId(){ | ||
124 | + return this.shopId; | ||
125 | + } | ||
126 | + public void setOrderId (Long orderId){ | ||
127 | + this.orderId = orderId; | ||
128 | + } | ||
129 | + public Long getOrderId(){ | ||
130 | + return this.orderId; | ||
131 | + } | ||
132 | + public void setTradeName (String tradeName){ | ||
133 | + this.tradeName = tradeName; | ||
134 | + } | ||
135 | + public String getTradeName(){ | ||
136 | + return this.tradeName; | ||
137 | + } | ||
138 | + public void setTradePrice (Long tradePrice){ | ||
139 | + this.tradePrice = tradePrice; | ||
140 | + } | ||
141 | + public Long getTradePrice(){ | ||
142 | + return this.tradePrice; | ||
143 | + } | ||
144 | + public void setTradeType (Integer tradeType){ | ||
145 | + this.tradeType = tradeType; | ||
146 | + } | ||
147 | + public Integer getTradeType(){ | ||
148 | + return this.tradeType; | ||
149 | + } | ||
150 | + public void setYn (Integer yn){ | ||
151 | + this.yn = yn; | ||
152 | + } | ||
153 | + public Integer getYn(){ | ||
154 | + return this.yn; | ||
155 | + } | ||
156 | + public void setCreated (Date created){ | ||
157 | + this.created = created; | ||
158 | + } | ||
159 | + public Date getCreated(){ | ||
160 | + return this.created; | ||
161 | + } | ||
162 | + public void setModified (Date modified){ | ||
163 | + this.modified = modified; | ||
164 | + } | ||
165 | + public Date getModified(){ | ||
166 | + return this.modified; | ||
167 | + } | ||
168 | + | ||
169 | + public String toString(){ | ||
170 | + StringBuffer sb = new StringBuffer(); | ||
171 | + sb.append("FoundTrade ["); | ||
172 | + sb.append("id = "); | ||
173 | + sb.append(id); | ||
174 | + sb.append(", shopBuyerId = "); | ||
175 | + sb.append(shopBuyerId); | ||
176 | + sb.append(", buyerId = "); | ||
177 | + sb.append(buyerId); | ||
178 | + sb.append(", sellerId = "); | ||
179 | + sb.append(sellerId); | ||
180 | + sb.append(", shopId = "); | ||
181 | + sb.append(shopId); | ||
182 | + sb.append(", orderId = "); | ||
183 | + sb.append(orderId); | ||
184 | + sb.append(", tradeName = "); | ||
185 | + sb.append(tradeName); | ||
186 | + sb.append(", tradePrice = "); | ||
187 | + sb.append(tradePrice); | ||
188 | + sb.append(", tradeType = "); | ||
189 | + sb.append(tradeType); | ||
190 | + sb.append(", yn = "); | ||
191 | + sb.append(yn); | ||
192 | + sb.append(", created = "); | ||
193 | + sb.append(created); | ||
194 | + sb.append(", modified = "); | ||
195 | + sb.append(modified); | ||
196 | + sb.append("]"); | ||
197 | + return sb.toString(); | ||
198 | + } | ||
199 | +} | ||
0 | \ No newline at end of file | 200 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/foundTrade/output/FoundTradeOutput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/foundTrade/output/FoundTradeOutput.java | ||
1 | +package com.dili.myapp.api.foundTrade.output; | ||
2 | + | ||
3 | +import io.swagger.annotations.ApiModelProperty; | ||
4 | + | ||
5 | +import java.io.Serializable; | ||
6 | +import java.util.*; | ||
7 | +import java.sql.Timestamp; | ||
8 | + | ||
9 | + | ||
10 | +/** | ||
11 | + * <br /> | ||
12 | + * @createTime 2016-11-23 17:19:15 | ||
13 | + * @author template | ||
14 | + */ | ||
15 | +public class FoundTradeOutput implements Serializable { | ||
16 | + | ||
17 | + /** | ||
18 | + * 交易ID | ||
19 | + */ | ||
20 | + @ApiModelProperty(value = "交易ID") | ||
21 | + private Long id; | ||
22 | + /** | ||
23 | + * 资金账户ID | ||
24 | + */ | ||
25 | + @ApiModelProperty(value = "资金账户ID") | ||
26 | + private Long shopBuyerId; | ||
27 | + /** | ||
28 | + * 买家ID | ||
29 | + */ | ||
30 | + @ApiModelProperty(value = "买家ID") | ||
31 | + private Long buyerId; | ||
32 | + /** | ||
33 | + * 卖家ID | ||
34 | + */ | ||
35 | + @ApiModelProperty(value = "卖家ID") | ||
36 | + private Long sellerId; | ||
37 | + /** | ||
38 | + * 店铺ID | ||
39 | + */ | ||
40 | + @ApiModelProperty(value = "店铺ID") | ||
41 | + private Long shopId; | ||
42 | + /** | ||
43 | + * 订单编号 | ||
44 | + */ | ||
45 | + @ApiModelProperty(value = "订单编号") | ||
46 | + private Long orderId; | ||
47 | + /** | ||
48 | + * 交易名称 | ||
49 | + */ | ||
50 | + @ApiModelProperty(value = "交易名称") | ||
51 | + private String tradeName; | ||
52 | + /** | ||
53 | + * 交易金额 | ||
54 | + */ | ||
55 | + @ApiModelProperty(value = "交易金额") | ||
56 | + private Long tradePrice; | ||
57 | + /** | ||
58 | + * 交易类型(1:充值 2:冻结3:消费) | ||
59 | + */ | ||
60 | + @ApiModelProperty(value = "交易类型(1:充值 2:冻结3:消费)") | ||
61 | + private Integer tradeType; | ||
62 | + /** | ||
63 | + * | ||
64 | + */ | ||
65 | + @ApiModelProperty(value = "") | ||
66 | + private Integer yn; | ||
67 | + /** | ||
68 | + * 交易时间 | ||
69 | + */ | ||
70 | + @ApiModelProperty(value = "交易时间") | ||
71 | + private Date created; | ||
72 | + /** | ||
73 | + * | ||
74 | + */ | ||
75 | + @ApiModelProperty(value = "") | ||
76 | + private Date modified; | ||
77 | + public void setId (Long id){ | ||
78 | + this.id = id; | ||
79 | + } | ||
80 | + public Long getId(){ | ||
81 | + return this.id; | ||
82 | + } | ||
83 | + public void setShopBuyerId (Long shopBuyerId){ | ||
84 | + this.shopBuyerId = shopBuyerId; | ||
85 | + } | ||
86 | + public Long getShopBuyerId(){ | ||
87 | + return this.shopBuyerId; | ||
88 | + } | ||
89 | + public void setBuyerId (Long buyerId){ | ||
90 | + this.buyerId = buyerId; | ||
91 | + } | ||
92 | + public Long getBuyerId(){ | ||
93 | + return this.buyerId; | ||
94 | + } | ||
95 | + public void setSellerId (Long sellerId){ | ||
96 | + this.sellerId = sellerId; | ||
97 | + } | ||
98 | + public Long getSellerId(){ | ||
99 | + return this.sellerId; | ||
100 | + } | ||
101 | + public void setShopId (Long shopId){ | ||
102 | + this.shopId = shopId; | ||
103 | + } | ||
104 | + public Long getShopId(){ | ||
105 | + return this.shopId; | ||
106 | + } | ||
107 | + public void setOrderId (Long orderId){ | ||
108 | + this.orderId = orderId; | ||
109 | + } | ||
110 | + public Long getOrderId(){ | ||
111 | + return this.orderId; | ||
112 | + } | ||
113 | + public void setTradeName (String tradeName){ | ||
114 | + this.tradeName = tradeName; | ||
115 | + } | ||
116 | + public String getTradeName(){ | ||
117 | + return this.tradeName; | ||
118 | + } | ||
119 | + public void setTradePrice (Long tradePrice){ | ||
120 | + this.tradePrice = tradePrice; | ||
121 | + } | ||
122 | + public Long getTradePrice(){ | ||
123 | + return this.tradePrice; | ||
124 | + } | ||
125 | + public void setTradeType (Integer tradeType){ | ||
126 | + this.tradeType = tradeType; | ||
127 | + } | ||
128 | + public Integer getTradeType(){ | ||
129 | + return this.tradeType; | ||
130 | + } | ||
131 | + public void setYn (Integer yn){ | ||
132 | + this.yn = yn; | ||
133 | + } | ||
134 | + public Integer getYn(){ | ||
135 | + return this.yn; | ||
136 | + } | ||
137 | + public void setCreated (Date created){ | ||
138 | + this.created = created; | ||
139 | + } | ||
140 | + public Date getCreated(){ | ||
141 | + return this.created; | ||
142 | + } | ||
143 | + public void setModified (Date modified){ | ||
144 | + this.modified = modified; | ||
145 | + } | ||
146 | + public Date getModified(){ | ||
147 | + return this.modified; | ||
148 | + } | ||
149 | + | ||
150 | + public String toString(){ | ||
151 | + StringBuffer sb = new StringBuffer(); | ||
152 | + sb.append("FoundTrade ["); | ||
153 | + sb.append("id = "); | ||
154 | + sb.append(id); | ||
155 | + sb.append(", shopBuyerId = "); | ||
156 | + sb.append(shopBuyerId); | ||
157 | + sb.append(", buyerId = "); | ||
158 | + sb.append(buyerId); | ||
159 | + sb.append(", sellerId = "); | ||
160 | + sb.append(sellerId); | ||
161 | + sb.append(", shopId = "); | ||
162 | + sb.append(shopId); | ||
163 | + sb.append(", orderId = "); | ||
164 | + sb.append(orderId); | ||
165 | + sb.append(", tradeName = "); | ||
166 | + sb.append(tradeName); | ||
167 | + sb.append(", tradePrice = "); | ||
168 | + sb.append(tradePrice); | ||
169 | + sb.append(", tradeType = "); | ||
170 | + sb.append(tradeType); | ||
171 | + sb.append(", yn = "); | ||
172 | + sb.append(yn); | ||
173 | + sb.append(", created = "); | ||
174 | + sb.append(created); | ||
175 | + sb.append(", modified = "); | ||
176 | + sb.append(modified); | ||
177 | + sb.append("]"); | ||
178 | + return sb.toString(); | ||
179 | + } | ||
180 | +} | ||
0 | \ No newline at end of file | 181 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoInput.java | ||
1 | +package com.dili.myapp.api.pickingInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:16 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class PickingInfoInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 购买者ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "购买者ID",required = true) | ||
33 | + @NotNull(message="购买者ID不能为空") | ||
34 | + private Long buyerId; | ||
35 | + /** | ||
36 | + * 名称 | ||
37 | + */ | ||
38 | + @ApiParam(value = "名称",required = true) | ||
39 | + @NotBlank(message="名称不能为空") | ||
40 | + private String name; | ||
41 | + /** | ||
42 | + * 联系方式 | ||
43 | + */ | ||
44 | + @ApiParam(value = "联系方式",required = true) | ||
45 | + @NotBlank(message="联系方式不能为空") | ||
46 | + private String telphone; | ||
47 | + /** | ||
48 | + * 地址 | ||
49 | + */ | ||
50 | + @ApiParam(value = "地址",required = true) | ||
51 | + @NotBlank(message="地址不能为空") | ||
52 | + private String addresss; | ||
53 | + /** | ||
54 | + * 是否为默认1: 非默认2:默认 | ||
55 | + */ | ||
56 | + @ApiParam(value = "是否为默认1: 非默认2:默认",required = true) | ||
57 | + @NotNull(message="是否为默认1: 非默认2:默认不能为空") | ||
58 | + private Integer def; | ||
59 | + /** | ||
60 | + * 状态(1:有效 2:无效) | ||
61 | + */ | ||
62 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
63 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
64 | + private Integer yn; | ||
65 | + /** | ||
66 | + * | ||
67 | + */ | ||
68 | + @ApiParam(value = "",required = true) | ||
69 | + @NotNull(message="不能为空") | ||
70 | + private Date created; | ||
71 | + /** | ||
72 | + * | ||
73 | + */ | ||
74 | + @ApiParam(value = "",required = true) | ||
75 | + @NotNull(message="不能为空") | ||
76 | + private Date modified; | ||
77 | + /** | ||
78 | + * 当前页数 | ||
79 | + */ | ||
80 | + private Integer pageNum; | ||
81 | + /** | ||
82 | + * 每个数量 | ||
83 | + */ | ||
84 | + private Integer pageSize; | ||
85 | + public void setId (Long id){ | ||
86 | + this.id = id; | ||
87 | + } | ||
88 | + public Long getId(){ | ||
89 | + return this.id; | ||
90 | + } | ||
91 | + public void setBuyerId (Long buyerId){ | ||
92 | + this.buyerId = buyerId; | ||
93 | + } | ||
94 | + public Long getBuyerId(){ | ||
95 | + return this.buyerId; | ||
96 | + } | ||
97 | + public void setName (String name){ | ||
98 | + this.name = name; | ||
99 | + } | ||
100 | + public String getName(){ | ||
101 | + return this.name; | ||
102 | + } | ||
103 | + public void setTelphone (String telphone){ | ||
104 | + this.telphone = telphone; | ||
105 | + } | ||
106 | + public String getTelphone(){ | ||
107 | + return this.telphone; | ||
108 | + } | ||
109 | + public void setAddresss (String addresss){ | ||
110 | + this.addresss = addresss; | ||
111 | + } | ||
112 | + public String getAddresss(){ | ||
113 | + return this.addresss; | ||
114 | + } | ||
115 | + public void setDef (Integer def){ | ||
116 | + this.def = def; | ||
117 | + } | ||
118 | + public Integer getDef(){ | ||
119 | + return this.def; | ||
120 | + } | ||
121 | + public void setYn (Integer yn){ | ||
122 | + this.yn = yn; | ||
123 | + } | ||
124 | + public Integer getYn(){ | ||
125 | + return this.yn; | ||
126 | + } | ||
127 | + public void setCreated (Date created){ | ||
128 | + this.created = created; | ||
129 | + } | ||
130 | + public Date getCreated(){ | ||
131 | + return this.created; | ||
132 | + } | ||
133 | + public void setModified (Date modified){ | ||
134 | + this.modified = modified; | ||
135 | + } | ||
136 | + public Date getModified(){ | ||
137 | + return this.modified; | ||
138 | + } | ||
139 | + public Integer getPageNum() {return pageNum;} | ||
140 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
141 | + public Integer getPageSize() {return pageSize;} | ||
142 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
143 | + | ||
144 | + public String toString(){ | ||
145 | + StringBuffer sb = new StringBuffer(); | ||
146 | + sb.append("PickingInfo ["); | ||
147 | + sb.append("id = "); | ||
148 | + sb.append(id); | ||
149 | + sb.append(", buyerId = "); | ||
150 | + sb.append(buyerId); | ||
151 | + sb.append(", name = "); | ||
152 | + sb.append(name); | ||
153 | + sb.append(", telphone = "); | ||
154 | + sb.append(telphone); | ||
155 | + sb.append(", addresss = "); | ||
156 | + sb.append(addresss); | ||
157 | + sb.append(", def = "); | ||
158 | + sb.append(def); | ||
159 | + sb.append(", yn = "); | ||
160 | + sb.append(yn); | ||
161 | + sb.append(", created = "); | ||
162 | + sb.append(created); | ||
163 | + sb.append(", modified = "); | ||
164 | + sb.append(modified); | ||
165 | + sb.append("]"); | ||
166 | + return sb.toString(); | ||
167 | + } | ||
168 | +} | ||
0 | \ No newline at end of file | 169 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoListInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoListInput.java | ||
1 | +package com.dili.myapp.api.pickingInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | +import com.dili.myapp.utils.base.BaseQuery; | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | +/** | ||
19 | + * <br /> | ||
20 | + * @createTime 2016-11-23 17:19:16 | ||
21 | + * @author template | ||
22 | + */ | ||
23 | +public class PickingInfoListInput extends BaseQuery implements Serializable{ | ||
24 | + | ||
25 | + /** | ||
26 | + * | ||
27 | + */ | ||
28 | + @ApiParam(value = "") | ||
29 | + private Long id; | ||
30 | + /** | ||
31 | + * 购买者ID | ||
32 | + */ | ||
33 | + @ApiParam(value = "购买者ID") | ||
34 | + private Long buyerId; | ||
35 | + /** | ||
36 | + * 名称 | ||
37 | + */ | ||
38 | + @ApiParam(value = "名称") | ||
39 | + private String name; | ||
40 | + /** | ||
41 | + * 联系方式 | ||
42 | + */ | ||
43 | + @ApiParam(value = "联系方式") | ||
44 | + private String telphone; | ||
45 | + /** | ||
46 | + * 地址 | ||
47 | + */ | ||
48 | + @ApiParam(value = "地址") | ||
49 | + private String addresss; | ||
50 | + /** | ||
51 | + * 是否为默认1: 非默认2:默认 | ||
52 | + */ | ||
53 | + @ApiParam(value = "是否为默认1: 非默认2:默认") | ||
54 | + private Integer def; | ||
55 | + /** | ||
56 | + * 状态(1:有效 2:无效) | ||
57 | + */ | ||
58 | + @ApiParam(value = "状态(1:有效 2:无效)") | ||
59 | + private Integer yn; | ||
60 | + /** | ||
61 | + * | ||
62 | + */ | ||
63 | + @ApiParam(value = "") | ||
64 | + private Date created; | ||
65 | + /** | ||
66 | + * | ||
67 | + */ | ||
68 | + @ApiParam(value = "") | ||
69 | + private Date modified; | ||
70 | + /** | ||
71 | + * 当前页数 | ||
72 | + */ | ||
73 | + private Integer pageNum; | ||
74 | + /** | ||
75 | + * 每个数量 | ||
76 | + */ | ||
77 | + private Integer pageSize; | ||
78 | + public void setId (Long id){ | ||
79 | + this.id = id; | ||
80 | + } | ||
81 | + public Long getId(){ | ||
82 | + return this.id; | ||
83 | + } | ||
84 | + public void setBuyerId (Long buyerId){ | ||
85 | + this.buyerId = buyerId; | ||
86 | + } | ||
87 | + public Long getBuyerId(){ | ||
88 | + return this.buyerId; | ||
89 | + } | ||
90 | + public void setName (String name){ | ||
91 | + this.name = name; | ||
92 | + } | ||
93 | + public String getName(){ | ||
94 | + return this.name; | ||
95 | + } | ||
96 | + public void setTelphone (String telphone){ | ||
97 | + this.telphone = telphone; | ||
98 | + } | ||
99 | + public String getTelphone(){ | ||
100 | + return this.telphone; | ||
101 | + } | ||
102 | + public void setAddresss (String addresss){ | ||
103 | + this.addresss = addresss; | ||
104 | + } | ||
105 | + public String getAddresss(){ | ||
106 | + return this.addresss; | ||
107 | + } | ||
108 | + public void setDef (Integer def){ | ||
109 | + this.def = def; | ||
110 | + } | ||
111 | + public Integer getDef(){ | ||
112 | + return this.def; | ||
113 | + } | ||
114 | + public void setYn (Integer yn){ | ||
115 | + this.yn = yn; | ||
116 | + } | ||
117 | + public Integer getYn(){ | ||
118 | + return this.yn; | ||
119 | + } | ||
120 | + public void setCreated (Date created){ | ||
121 | + this.created = created; | ||
122 | + } | ||
123 | + public Date getCreated(){ | ||
124 | + return this.created; | ||
125 | + } | ||
126 | + public void setModified (Date modified){ | ||
127 | + this.modified = modified; | ||
128 | + } | ||
129 | + public Date getModified(){ | ||
130 | + return this.modified; | ||
131 | + } | ||
132 | + public Integer getPageNum() {return pageNum;} | ||
133 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
134 | + public Integer getPageSize() {return pageSize;} | ||
135 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
136 | + | ||
137 | + public String toString(){ | ||
138 | + StringBuffer sb = new StringBuffer(); | ||
139 | + sb.append("PickingInfo ["); | ||
140 | + sb.append("id = "); | ||
141 | + sb.append(id); | ||
142 | + sb.append(", buyerId = "); | ||
143 | + sb.append(buyerId); | ||
144 | + sb.append(", name = "); | ||
145 | + sb.append(name); | ||
146 | + sb.append(", telphone = "); | ||
147 | + sb.append(telphone); | ||
148 | + sb.append(", addresss = "); | ||
149 | + sb.append(addresss); | ||
150 | + sb.append(", def = "); | ||
151 | + sb.append(def); | ||
152 | + sb.append(", yn = "); | ||
153 | + sb.append(yn); | ||
154 | + sb.append(", created = "); | ||
155 | + sb.append(created); | ||
156 | + sb.append(", modified = "); | ||
157 | + sb.append(modified); | ||
158 | + sb.append("]"); | ||
159 | + return sb.toString(); | ||
160 | + } | ||
161 | +} | ||
0 | \ No newline at end of file | 162 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoSaveInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoSaveInput.java | ||
1 | +package com.dili.myapp.api.pickingInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:16 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class PickingInfoSaveInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 购买者ID | ||
25 | + */ | ||
26 | + @ApiParam(value = "购买者ID",required = true) | ||
27 | + @NotNull(message="购买者ID不能为空") | ||
28 | + private Long buyerId; | ||
29 | + /** | ||
30 | + * 名称 | ||
31 | + */ | ||
32 | + @ApiParam(value = "名称",required = true) | ||
33 | + @NotBlank(message="名称不能为空") | ||
34 | + private String name; | ||
35 | + /** | ||
36 | + * 联系方式 | ||
37 | + */ | ||
38 | + @ApiParam(value = "联系方式",required = true) | ||
39 | + @NotBlank(message="联系方式不能为空") | ||
40 | + private String telphone; | ||
41 | + /** | ||
42 | + * 地址 | ||
43 | + */ | ||
44 | + @ApiParam(value = "地址",required = true) | ||
45 | + @NotBlank(message="地址不能为空") | ||
46 | + private String addresss; | ||
47 | + /** | ||
48 | + * 是否为默认1: 非默认2:默认 | ||
49 | + */ | ||
50 | + @ApiParam(value = "是否为默认1: 非默认2:默认",required = true) | ||
51 | + @NotNull(message="是否为默认1: 非默认2:默认不能为空") | ||
52 | + private Integer def; | ||
53 | + /** | ||
54 | + * 状态(1:有效 2:无效) | ||
55 | + */ | ||
56 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
57 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
58 | + private Integer yn; | ||
59 | + /** | ||
60 | + * | ||
61 | + */ | ||
62 | + @ApiParam(value = "",required = true) | ||
63 | + @NotNull(message="不能为空") | ||
64 | + private Date created; | ||
65 | + /** | ||
66 | + * | ||
67 | + */ | ||
68 | + @ApiParam(value = "",required = true) | ||
69 | + @NotNull(message="不能为空") | ||
70 | + private Date modified; | ||
71 | + | ||
72 | + public void setBuyerId (Long buyerId){ | ||
73 | + this.buyerId = buyerId; | ||
74 | + } | ||
75 | + public Long getBuyerId(){ | ||
76 | + return this.buyerId; | ||
77 | + } | ||
78 | + public void setName (String name){ | ||
79 | + this.name = name; | ||
80 | + } | ||
81 | + public String getName(){ | ||
82 | + return this.name; | ||
83 | + } | ||
84 | + public void setTelphone (String telphone){ | ||
85 | + this.telphone = telphone; | ||
86 | + } | ||
87 | + public String getTelphone(){ | ||
88 | + return this.telphone; | ||
89 | + } | ||
90 | + public void setAddresss (String addresss){ | ||
91 | + this.addresss = addresss; | ||
92 | + } | ||
93 | + public String getAddresss(){ | ||
94 | + return this.addresss; | ||
95 | + } | ||
96 | + public void setDef (Integer def){ | ||
97 | + this.def = def; | ||
98 | + } | ||
99 | + public Integer getDef(){ | ||
100 | + return this.def; | ||
101 | + } | ||
102 | + public void setYn (Integer yn){ | ||
103 | + this.yn = yn; | ||
104 | + } | ||
105 | + public Integer getYn(){ | ||
106 | + return this.yn; | ||
107 | + } | ||
108 | + public void setCreated (Date created){ | ||
109 | + this.created = created; | ||
110 | + } | ||
111 | + public Date getCreated(){ | ||
112 | + return this.created; | ||
113 | + } | ||
114 | + public void setModified (Date modified){ | ||
115 | + this.modified = modified; | ||
116 | + } | ||
117 | + public Date getModified(){ | ||
118 | + return this.modified; | ||
119 | + } | ||
120 | + | ||
121 | + public String toString(){ | ||
122 | + StringBuffer sb = new StringBuffer(); | ||
123 | + sb.append("PickingInfo ["); | ||
124 | + sb.append(", buyerId = "); | ||
125 | + sb.append(buyerId); | ||
126 | + sb.append(", name = "); | ||
127 | + sb.append(name); | ||
128 | + sb.append(", telphone = "); | ||
129 | + sb.append(telphone); | ||
130 | + sb.append(", addresss = "); | ||
131 | + sb.append(addresss); | ||
132 | + sb.append(", def = "); | ||
133 | + sb.append(def); | ||
134 | + sb.append(", yn = "); | ||
135 | + sb.append(yn); | ||
136 | + sb.append(", created = "); | ||
137 | + sb.append(created); | ||
138 | + sb.append(", modified = "); | ||
139 | + sb.append(modified); | ||
140 | + sb.append("]"); | ||
141 | + return sb.toString(); | ||
142 | + } | ||
143 | +} | ||
0 | \ No newline at end of file | 144 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoUpdateInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/pickingInfo/input/PickingInfoUpdateInput.java | ||
1 | +package com.dili.myapp.api.pickingInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:16 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class PickingInfoUpdateInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 购买者ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "购买者ID",required = true) | ||
33 | + @NotNull(message="购买者ID不能为空") | ||
34 | + private Long buyerId; | ||
35 | + /** | ||
36 | + * 名称 | ||
37 | + */ | ||
38 | + @ApiParam(value = "名称",required = true) | ||
39 | + @NotBlank(message="名称不能为空") | ||
40 | + private String name; | ||
41 | + /** | ||
42 | + * 联系方式 | ||
43 | + */ | ||
44 | + @ApiParam(value = "联系方式",required = true) | ||
45 | + @NotBlank(message="联系方式不能为空") | ||
46 | + private String telphone; | ||
47 | + /** | ||
48 | + * 地址 | ||
49 | + */ | ||
50 | + @ApiParam(value = "地址",required = true) | ||
51 | + @NotBlank(message="地址不能为空") | ||
52 | + private String addresss; | ||
53 | + /** | ||
54 | + * 是否为默认1: 非默认2:默认 | ||
55 | + */ | ||
56 | + @ApiParam(value = "是否为默认1: 非默认2:默认",required = true) | ||
57 | + @NotNull(message="是否为默认1: 非默认2:默认不能为空") | ||
58 | + private Integer def; | ||
59 | + /** | ||
60 | + * 状态(1:有效 2:无效) | ||
61 | + */ | ||
62 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
63 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
64 | + private Integer yn; | ||
65 | + /** | ||
66 | + * | ||
67 | + */ | ||
68 | + @ApiParam(value = "",required = true) | ||
69 | + @NotNull(message="不能为空") | ||
70 | + private Date created; | ||
71 | + /** | ||
72 | + * | ||
73 | + */ | ||
74 | + @ApiParam(value = "",required = true) | ||
75 | + @NotNull(message="不能为空") | ||
76 | + private Date modified; | ||
77 | + | ||
78 | + public void setId (Long id){ | ||
79 | + this.id = id; | ||
80 | + } | ||
81 | + public Long getId(){ | ||
82 | + return this.id; | ||
83 | + } | ||
84 | + public void setBuyerId (Long buyerId){ | ||
85 | + this.buyerId = buyerId; | ||
86 | + } | ||
87 | + public Long getBuyerId(){ | ||
88 | + return this.buyerId; | ||
89 | + } | ||
90 | + public void setName (String name){ | ||
91 | + this.name = name; | ||
92 | + } | ||
93 | + public String getName(){ | ||
94 | + return this.name; | ||
95 | + } | ||
96 | + public void setTelphone (String telphone){ | ||
97 | + this.telphone = telphone; | ||
98 | + } | ||
99 | + public String getTelphone(){ | ||
100 | + return this.telphone; | ||
101 | + } | ||
102 | + public void setAddresss (String addresss){ | ||
103 | + this.addresss = addresss; | ||
104 | + } | ||
105 | + public String getAddresss(){ | ||
106 | + return this.addresss; | ||
107 | + } | ||
108 | + public void setDef (Integer def){ | ||
109 | + this.def = def; | ||
110 | + } | ||
111 | + public Integer getDef(){ | ||
112 | + return this.def; | ||
113 | + } | ||
114 | + public void setYn (Integer yn){ | ||
115 | + this.yn = yn; | ||
116 | + } | ||
117 | + public Integer getYn(){ | ||
118 | + return this.yn; | ||
119 | + } | ||
120 | + public void setCreated (Date created){ | ||
121 | + this.created = created; | ||
122 | + } | ||
123 | + public Date getCreated(){ | ||
124 | + return this.created; | ||
125 | + } | ||
126 | + public void setModified (Date modified){ | ||
127 | + this.modified = modified; | ||
128 | + } | ||
129 | + public Date getModified(){ | ||
130 | + return this.modified; | ||
131 | + } | ||
132 | + | ||
133 | + public String toString(){ | ||
134 | + StringBuffer sb = new StringBuffer(); | ||
135 | + sb.append("PickingInfo ["); | ||
136 | + sb.append("id = "); | ||
137 | + sb.append(id); | ||
138 | + sb.append(", buyerId = "); | ||
139 | + sb.append(buyerId); | ||
140 | + sb.append(", name = "); | ||
141 | + sb.append(name); | ||
142 | + sb.append(", telphone = "); | ||
143 | + sb.append(telphone); | ||
144 | + sb.append(", addresss = "); | ||
145 | + sb.append(addresss); | ||
146 | + sb.append(", def = "); | ||
147 | + sb.append(def); | ||
148 | + sb.append(", yn = "); | ||
149 | + sb.append(yn); | ||
150 | + sb.append(", created = "); | ||
151 | + sb.append(created); | ||
152 | + sb.append(", modified = "); | ||
153 | + sb.append(modified); | ||
154 | + sb.append("]"); | ||
155 | + return sb.toString(); | ||
156 | + } | ||
157 | +} | ||
0 | \ No newline at end of file | 158 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/pickingInfo/output/PickingInfoOutput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/pickingInfo/output/PickingInfoOutput.java | ||
1 | +package com.dili.myapp.api.pickingInfo.output; | ||
2 | + | ||
3 | +import io.swagger.annotations.ApiModelProperty; | ||
4 | + | ||
5 | +import java.io.Serializable; | ||
6 | +import java.util.*; | ||
7 | +import java.sql.Timestamp; | ||
8 | + | ||
9 | + | ||
10 | +/** | ||
11 | + * <br /> | ||
12 | + * @createTime 2016-11-23 17:19:16 | ||
13 | + * @author template | ||
14 | + */ | ||
15 | +public class PickingInfoOutput implements Serializable { | ||
16 | + | ||
17 | + /** | ||
18 | + * | ||
19 | + */ | ||
20 | + @ApiModelProperty(value = "") | ||
21 | + private Long id; | ||
22 | + /** | ||
23 | + * 购买者ID | ||
24 | + */ | ||
25 | + @ApiModelProperty(value = "购买者ID") | ||
26 | + private Long buyerId; | ||
27 | + /** | ||
28 | + * 名称 | ||
29 | + */ | ||
30 | + @ApiModelProperty(value = "名称") | ||
31 | + private String name; | ||
32 | + /** | ||
33 | + * 联系方式 | ||
34 | + */ | ||
35 | + @ApiModelProperty(value = "联系方式") | ||
36 | + private String telphone; | ||
37 | + /** | ||
38 | + * 地址 | ||
39 | + */ | ||
40 | + @ApiModelProperty(value = "地址") | ||
41 | + private String addresss; | ||
42 | + /** | ||
43 | + * 是否为默认1: 非默认2:默认 | ||
44 | + */ | ||
45 | + @ApiModelProperty(value = "是否为默认1: 非默认2:默认") | ||
46 | + private Integer def; | ||
47 | + /** | ||
48 | + * 状态(1:有效 2:无效) | ||
49 | + */ | ||
50 | + @ApiModelProperty(value = "状态(1:有效 2:无效)") | ||
51 | + private Integer yn; | ||
52 | + /** | ||
53 | + * | ||
54 | + */ | ||
55 | + @ApiModelProperty(value = "") | ||
56 | + private Date created; | ||
57 | + /** | ||
58 | + * | ||
59 | + */ | ||
60 | + @ApiModelProperty(value = "") | ||
61 | + private Date modified; | ||
62 | + public void setId (Long id){ | ||
63 | + this.id = id; | ||
64 | + } | ||
65 | + public Long getId(){ | ||
66 | + return this.id; | ||
67 | + } | ||
68 | + public void setBuyerId (Long buyerId){ | ||
69 | + this.buyerId = buyerId; | ||
70 | + } | ||
71 | + public Long getBuyerId(){ | ||
72 | + return this.buyerId; | ||
73 | + } | ||
74 | + public void setName (String name){ | ||
75 | + this.name = name; | ||
76 | + } | ||
77 | + public String getName(){ | ||
78 | + return this.name; | ||
79 | + } | ||
80 | + public void setTelphone (String telphone){ | ||
81 | + this.telphone = telphone; | ||
82 | + } | ||
83 | + public String getTelphone(){ | ||
84 | + return this.telphone; | ||
85 | + } | ||
86 | + public void setAddresss (String addresss){ | ||
87 | + this.addresss = addresss; | ||
88 | + } | ||
89 | + public String getAddresss(){ | ||
90 | + return this.addresss; | ||
91 | + } | ||
92 | + public void setDef (Integer def){ | ||
93 | + this.def = def; | ||
94 | + } | ||
95 | + public Integer getDef(){ | ||
96 | + return this.def; | ||
97 | + } | ||
98 | + public void setYn (Integer yn){ | ||
99 | + this.yn = yn; | ||
100 | + } | ||
101 | + public Integer getYn(){ | ||
102 | + return this.yn; | ||
103 | + } | ||
104 | + public void setCreated (Date created){ | ||
105 | + this.created = created; | ||
106 | + } | ||
107 | + public Date getCreated(){ | ||
108 | + return this.created; | ||
109 | + } | ||
110 | + public void setModified (Date modified){ | ||
111 | + this.modified = modified; | ||
112 | + } | ||
113 | + public Date getModified(){ | ||
114 | + return this.modified; | ||
115 | + } | ||
116 | + | ||
117 | + public String toString(){ | ||
118 | + StringBuffer sb = new StringBuffer(); | ||
119 | + sb.append("PickingInfo ["); | ||
120 | + sb.append("id = "); | ||
121 | + sb.append(id); | ||
122 | + sb.append(", buyerId = "); | ||
123 | + sb.append(buyerId); | ||
124 | + sb.append(", name = "); | ||
125 | + sb.append(name); | ||
126 | + sb.append(", telphone = "); | ||
127 | + sb.append(telphone); | ||
128 | + sb.append(", addresss = "); | ||
129 | + sb.append(addresss); | ||
130 | + sb.append(", def = "); | ||
131 | + sb.append(def); | ||
132 | + sb.append(", yn = "); | ||
133 | + sb.append(yn); | ||
134 | + sb.append(", created = "); | ||
135 | + sb.append(created); | ||
136 | + sb.append(", modified = "); | ||
137 | + sb.append(modified); | ||
138 | + sb.append("]"); | ||
139 | + return sb.toString(); | ||
140 | + } | ||
141 | +} | ||
0 | \ No newline at end of file | 142 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoInput.java | ||
1 | +package com.dili.myapp.api.sellerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:16 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class SellerInfoInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 手机号 | ||
31 | + */ | ||
32 | + @ApiParam(value = "手机号",required = true) | ||
33 | + @NotBlank(message="手机号不能为空") | ||
34 | + private String mobilePhone; | ||
35 | + /** | ||
36 | + * 密码 | ||
37 | + */ | ||
38 | + @ApiParam(value = "密码",required = true) | ||
39 | + @NotBlank(message="密码不能为空") | ||
40 | + private String accountPwd; | ||
41 | + /** | ||
42 | + * 昵称 | ||
43 | + */ | ||
44 | + @ApiParam(value = "昵称",required = true) | ||
45 | + @NotBlank(message="昵称不能为空") | ||
46 | + private String accountName; | ||
47 | + /** | ||
48 | + * app类型(默认社区店版:1) | ||
49 | + */ | ||
50 | + @ApiParam(value = "app类型(默认社区店版:1)",required = true) | ||
51 | + @NotNull(message="app类型(默认社区店版:1)不能为空") | ||
52 | + private Integer appType; | ||
53 | + /** | ||
54 | + * 状态(1:有效 2:无效) | ||
55 | + */ | ||
56 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
57 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
58 | + private Integer yn; | ||
59 | + /** | ||
60 | + * created | ||
61 | + */ | ||
62 | + @ApiParam(value = "created",required = true) | ||
63 | + @NotNull(message="created不能为空") | ||
64 | + private Date created; | ||
65 | + /** | ||
66 | + * modified | ||
67 | + */ | ||
68 | + @ApiParam(value = "modified",required = true) | ||
69 | + @NotNull(message="modified不能为空") | ||
70 | + private Date modified; | ||
71 | + /** | ||
72 | + * 当前页数 | ||
73 | + */ | ||
74 | + private Integer pageNum; | ||
75 | + /** | ||
76 | + * 每个数量 | ||
77 | + */ | ||
78 | + private Integer pageSize; | ||
79 | + public void setId (Long id){ | ||
80 | + this.id = id; | ||
81 | + } | ||
82 | + public Long getId(){ | ||
83 | + return this.id; | ||
84 | + } | ||
85 | + public void setMobilePhone (String mobilePhone){ | ||
86 | + this.mobilePhone = mobilePhone; | ||
87 | + } | ||
88 | + public String getMobilePhone(){ | ||
89 | + return this.mobilePhone; | ||
90 | + } | ||
91 | + public void setAccountPwd (String accountPwd){ | ||
92 | + this.accountPwd = accountPwd; | ||
93 | + } | ||
94 | + public String getAccountPwd(){ | ||
95 | + return this.accountPwd; | ||
96 | + } | ||
97 | + public void setAccountName (String accountName){ | ||
98 | + this.accountName = accountName; | ||
99 | + } | ||
100 | + public String getAccountName(){ | ||
101 | + return this.accountName; | ||
102 | + } | ||
103 | + public void setAppType (Integer appType){ | ||
104 | + this.appType = appType; | ||
105 | + } | ||
106 | + public Integer getAppType(){ | ||
107 | + return this.appType; | ||
108 | + } | ||
109 | + public void setYn (Integer yn){ | ||
110 | + this.yn = yn; | ||
111 | + } | ||
112 | + public Integer getYn(){ | ||
113 | + return this.yn; | ||
114 | + } | ||
115 | + public void setCreated (Date created){ | ||
116 | + this.created = created; | ||
117 | + } | ||
118 | + public Date getCreated(){ | ||
119 | + return this.created; | ||
120 | + } | ||
121 | + public void setModified (Date modified){ | ||
122 | + this.modified = modified; | ||
123 | + } | ||
124 | + public Date getModified(){ | ||
125 | + return this.modified; | ||
126 | + } | ||
127 | + public Integer getPageNum() {return pageNum;} | ||
128 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
129 | + public Integer getPageSize() {return pageSize;} | ||
130 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
131 | + | ||
132 | + public String toString(){ | ||
133 | + StringBuffer sb = new StringBuffer(); | ||
134 | + sb.append("SellerInfo ["); | ||
135 | + sb.append("id = "); | ||
136 | + sb.append(id); | ||
137 | + sb.append(", mobilePhone = "); | ||
138 | + sb.append(mobilePhone); | ||
139 | + sb.append(", accountPwd = "); | ||
140 | + sb.append(accountPwd); | ||
141 | + sb.append(", accountName = "); | ||
142 | + sb.append(accountName); | ||
143 | + sb.append(", appType = "); | ||
144 | + sb.append(appType); | ||
145 | + sb.append(", yn = "); | ||
146 | + sb.append(yn); | ||
147 | + sb.append(", created = "); | ||
148 | + sb.append(created); | ||
149 | + sb.append(", modified = "); | ||
150 | + sb.append(modified); | ||
151 | + sb.append("]"); | ||
152 | + return sb.toString(); | ||
153 | + } | ||
154 | +} | ||
0 | \ No newline at end of file | 155 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoListInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoListInput.java | ||
1 | +package com.dili.myapp.api.sellerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | +import com.dili.myapp.utils.base.BaseQuery; | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | +/** | ||
19 | + * <br /> | ||
20 | + * @createTime 2016-11-23 17:19:16 | ||
21 | + * @author template | ||
22 | + */ | ||
23 | +public class SellerInfoListInput extends BaseQuery implements Serializable{ | ||
24 | + | ||
25 | + /** | ||
26 | + * | ||
27 | + */ | ||
28 | + @ApiParam(value = "") | ||
29 | + private Long id; | ||
30 | + /** | ||
31 | + * 手机号 | ||
32 | + */ | ||
33 | + @ApiParam(value = "手机号") | ||
34 | + private String mobilePhone; | ||
35 | + /** | ||
36 | + * 密码 | ||
37 | + */ | ||
38 | + @ApiParam(value = "密码") | ||
39 | + private String accountPwd; | ||
40 | + /** | ||
41 | + * 昵称 | ||
42 | + */ | ||
43 | + @ApiParam(value = "昵称") | ||
44 | + private String accountName; | ||
45 | + /** | ||
46 | + * app类型(默认社区店版:1) | ||
47 | + */ | ||
48 | + @ApiParam(value = "app类型(默认社区店版:1)") | ||
49 | + private Integer appType; | ||
50 | + /** | ||
51 | + * 状态(1:有效 2:无效) | ||
52 | + */ | ||
53 | + @ApiParam(value = "状态(1:有效 2:无效)") | ||
54 | + private Integer yn; | ||
55 | + /** | ||
56 | + * created | ||
57 | + */ | ||
58 | + @ApiParam(value = "created") | ||
59 | + private Date created; | ||
60 | + /** | ||
61 | + * modified | ||
62 | + */ | ||
63 | + @ApiParam(value = "modified") | ||
64 | + private Date modified; | ||
65 | + /** | ||
66 | + * 当前页数 | ||
67 | + */ | ||
68 | + private Integer pageNum; | ||
69 | + /** | ||
70 | + * 每个数量 | ||
71 | + */ | ||
72 | + private Integer pageSize; | ||
73 | + public void setId (Long id){ | ||
74 | + this.id = id; | ||
75 | + } | ||
76 | + public Long getId(){ | ||
77 | + return this.id; | ||
78 | + } | ||
79 | + public void setMobilePhone (String mobilePhone){ | ||
80 | + this.mobilePhone = mobilePhone; | ||
81 | + } | ||
82 | + public String getMobilePhone(){ | ||
83 | + return this.mobilePhone; | ||
84 | + } | ||
85 | + public void setAccountPwd (String accountPwd){ | ||
86 | + this.accountPwd = accountPwd; | ||
87 | + } | ||
88 | + public String getAccountPwd(){ | ||
89 | + return this.accountPwd; | ||
90 | + } | ||
91 | + public void setAccountName (String accountName){ | ||
92 | + this.accountName = accountName; | ||
93 | + } | ||
94 | + public String getAccountName(){ | ||
95 | + return this.accountName; | ||
96 | + } | ||
97 | + public void setAppType (Integer appType){ | ||
98 | + this.appType = appType; | ||
99 | + } | ||
100 | + public Integer getAppType(){ | ||
101 | + return this.appType; | ||
102 | + } | ||
103 | + public void setYn (Integer yn){ | ||
104 | + this.yn = yn; | ||
105 | + } | ||
106 | + public Integer getYn(){ | ||
107 | + return this.yn; | ||
108 | + } | ||
109 | + public void setCreated (Date created){ | ||
110 | + this.created = created; | ||
111 | + } | ||
112 | + public Date getCreated(){ | ||
113 | + return this.created; | ||
114 | + } | ||
115 | + public void setModified (Date modified){ | ||
116 | + this.modified = modified; | ||
117 | + } | ||
118 | + public Date getModified(){ | ||
119 | + return this.modified; | ||
120 | + } | ||
121 | + public Integer getPageNum() {return pageNum;} | ||
122 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
123 | + public Integer getPageSize() {return pageSize;} | ||
124 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
125 | + | ||
126 | + public String toString(){ | ||
127 | + StringBuffer sb = new StringBuffer(); | ||
128 | + sb.append("SellerInfo ["); | ||
129 | + sb.append("id = "); | ||
130 | + sb.append(id); | ||
131 | + sb.append(", mobilePhone = "); | ||
132 | + sb.append(mobilePhone); | ||
133 | + sb.append(", accountPwd = "); | ||
134 | + sb.append(accountPwd); | ||
135 | + sb.append(", accountName = "); | ||
136 | + sb.append(accountName); | ||
137 | + sb.append(", appType = "); | ||
138 | + sb.append(appType); | ||
139 | + sb.append(", yn = "); | ||
140 | + sb.append(yn); | ||
141 | + sb.append(", created = "); | ||
142 | + sb.append(created); | ||
143 | + sb.append(", modified = "); | ||
144 | + sb.append(modified); | ||
145 | + sb.append("]"); | ||
146 | + return sb.toString(); | ||
147 | + } | ||
148 | +} | ||
0 | \ No newline at end of file | 149 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoSaveInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoSaveInput.java | ||
1 | +package com.dili.myapp.api.sellerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:16 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class SellerInfoSaveInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * 手机号 | ||
25 | + */ | ||
26 | + @ApiParam(value = "手机号",required = true) | ||
27 | + @NotBlank(message="手机号不能为空") | ||
28 | + private String mobilePhone; | ||
29 | + /** | ||
30 | + * 密码 | ||
31 | + */ | ||
32 | + @ApiParam(value = "密码",required = true) | ||
33 | + @NotBlank(message="密码不能为空") | ||
34 | + private String accountPwd; | ||
35 | + /** | ||
36 | + * 昵称 | ||
37 | + */ | ||
38 | + @ApiParam(value = "昵称",required = true) | ||
39 | + @NotBlank(message="昵称不能为空") | ||
40 | + private String accountName; | ||
41 | + /** | ||
42 | + * app类型(默认社区店版:1) | ||
43 | + */ | ||
44 | + @ApiParam(value = "app类型(默认社区店版:1)",required = true) | ||
45 | + @NotNull(message="app类型(默认社区店版:1)不能为空") | ||
46 | + private Integer appType; | ||
47 | + /** | ||
48 | + * 状态(1:有效 2:无效) | ||
49 | + */ | ||
50 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
51 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
52 | + private Integer yn; | ||
53 | + /** | ||
54 | + * created | ||
55 | + */ | ||
56 | + @ApiParam(value = "created",required = true) | ||
57 | + @NotNull(message="created不能为空") | ||
58 | + private Date created; | ||
59 | + /** | ||
60 | + * modified | ||
61 | + */ | ||
62 | + @ApiParam(value = "modified",required = true) | ||
63 | + @NotNull(message="modified不能为空") | ||
64 | + private Date modified; | ||
65 | + | ||
66 | + public void setMobilePhone (String mobilePhone){ | ||
67 | + this.mobilePhone = mobilePhone; | ||
68 | + } | ||
69 | + public String getMobilePhone(){ | ||
70 | + return this.mobilePhone; | ||
71 | + } | ||
72 | + public void setAccountPwd (String accountPwd){ | ||
73 | + this.accountPwd = accountPwd; | ||
74 | + } | ||
75 | + public String getAccountPwd(){ | ||
76 | + return this.accountPwd; | ||
77 | + } | ||
78 | + public void setAccountName (String accountName){ | ||
79 | + this.accountName = accountName; | ||
80 | + } | ||
81 | + public String getAccountName(){ | ||
82 | + return this.accountName; | ||
83 | + } | ||
84 | + public void setAppType (Integer appType){ | ||
85 | + this.appType = appType; | ||
86 | + } | ||
87 | + public Integer getAppType(){ | ||
88 | + return this.appType; | ||
89 | + } | ||
90 | + public void setYn (Integer yn){ | ||
91 | + this.yn = yn; | ||
92 | + } | ||
93 | + public Integer getYn(){ | ||
94 | + return this.yn; | ||
95 | + } | ||
96 | + public void setCreated (Date created){ | ||
97 | + this.created = created; | ||
98 | + } | ||
99 | + public Date getCreated(){ | ||
100 | + return this.created; | ||
101 | + } | ||
102 | + public void setModified (Date modified){ | ||
103 | + this.modified = modified; | ||
104 | + } | ||
105 | + public Date getModified(){ | ||
106 | + return this.modified; | ||
107 | + } | ||
108 | + | ||
109 | + public String toString(){ | ||
110 | + StringBuffer sb = new StringBuffer(); | ||
111 | + sb.append("SellerInfo ["); | ||
112 | + sb.append(", mobilePhone = "); | ||
113 | + sb.append(mobilePhone); | ||
114 | + sb.append(", accountPwd = "); | ||
115 | + sb.append(accountPwd); | ||
116 | + sb.append(", accountName = "); | ||
117 | + sb.append(accountName); | ||
118 | + sb.append(", appType = "); | ||
119 | + sb.append(appType); | ||
120 | + sb.append(", yn = "); | ||
121 | + sb.append(yn); | ||
122 | + sb.append(", created = "); | ||
123 | + sb.append(created); | ||
124 | + sb.append(", modified = "); | ||
125 | + sb.append(modified); | ||
126 | + sb.append("]"); | ||
127 | + return sb.toString(); | ||
128 | + } | ||
129 | +} | ||
0 | \ No newline at end of file | 130 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoUpdateInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/sellerInfo/input/SellerInfoUpdateInput.java | ||
1 | +package com.dili.myapp.api.sellerInfo.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:16 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class SellerInfoUpdateInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 手机号 | ||
31 | + */ | ||
32 | + @ApiParam(value = "手机号",required = true) | ||
33 | + @NotBlank(message="手机号不能为空") | ||
34 | + private String mobilePhone; | ||
35 | + /** | ||
36 | + * 密码 | ||
37 | + */ | ||
38 | + @ApiParam(value = "密码",required = true) | ||
39 | + @NotBlank(message="密码不能为空") | ||
40 | + private String accountPwd; | ||
41 | + /** | ||
42 | + * 昵称 | ||
43 | + */ | ||
44 | + @ApiParam(value = "昵称",required = true) | ||
45 | + @NotBlank(message="昵称不能为空") | ||
46 | + private String accountName; | ||
47 | + /** | ||
48 | + * app类型(默认社区店版:1) | ||
49 | + */ | ||
50 | + @ApiParam(value = "app类型(默认社区店版:1)",required = true) | ||
51 | + @NotNull(message="app类型(默认社区店版:1)不能为空") | ||
52 | + private Integer appType; | ||
53 | + /** | ||
54 | + * 状态(1:有效 2:无效) | ||
55 | + */ | ||
56 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
57 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
58 | + private Integer yn; | ||
59 | + /** | ||
60 | + * created | ||
61 | + */ | ||
62 | + @ApiParam(value = "created",required = true) | ||
63 | + @NotNull(message="created不能为空") | ||
64 | + private Date created; | ||
65 | + /** | ||
66 | + * modified | ||
67 | + */ | ||
68 | + @ApiParam(value = "modified",required = true) | ||
69 | + @NotNull(message="modified不能为空") | ||
70 | + private Date modified; | ||
71 | + | ||
72 | + public void setId (Long id){ | ||
73 | + this.id = id; | ||
74 | + } | ||
75 | + public Long getId(){ | ||
76 | + return this.id; | ||
77 | + } | ||
78 | + public void setMobilePhone (String mobilePhone){ | ||
79 | + this.mobilePhone = mobilePhone; | ||
80 | + } | ||
81 | + public String getMobilePhone(){ | ||
82 | + return this.mobilePhone; | ||
83 | + } | ||
84 | + public void setAccountPwd (String accountPwd){ | ||
85 | + this.accountPwd = accountPwd; | ||
86 | + } | ||
87 | + public String getAccountPwd(){ | ||
88 | + return this.accountPwd; | ||
89 | + } | ||
90 | + public void setAccountName (String accountName){ | ||
91 | + this.accountName = accountName; | ||
92 | + } | ||
93 | + public String getAccountName(){ | ||
94 | + return this.accountName; | ||
95 | + } | ||
96 | + public void setAppType (Integer appType){ | ||
97 | + this.appType = appType; | ||
98 | + } | ||
99 | + public Integer getAppType(){ | ||
100 | + return this.appType; | ||
101 | + } | ||
102 | + public void setYn (Integer yn){ | ||
103 | + this.yn = yn; | ||
104 | + } | ||
105 | + public Integer getYn(){ | ||
106 | + return this.yn; | ||
107 | + } | ||
108 | + public void setCreated (Date created){ | ||
109 | + this.created = created; | ||
110 | + } | ||
111 | + public Date getCreated(){ | ||
112 | + return this.created; | ||
113 | + } | ||
114 | + public void setModified (Date modified){ | ||
115 | + this.modified = modified; | ||
116 | + } | ||
117 | + public Date getModified(){ | ||
118 | + return this.modified; | ||
119 | + } | ||
120 | + | ||
121 | + public String toString(){ | ||
122 | + StringBuffer sb = new StringBuffer(); | ||
123 | + sb.append("SellerInfo ["); | ||
124 | + sb.append("id = "); | ||
125 | + sb.append(id); | ||
126 | + sb.append(", mobilePhone = "); | ||
127 | + sb.append(mobilePhone); | ||
128 | + sb.append(", accountPwd = "); | ||
129 | + sb.append(accountPwd); | ||
130 | + sb.append(", accountName = "); | ||
131 | + sb.append(accountName); | ||
132 | + sb.append(", appType = "); | ||
133 | + sb.append(appType); | ||
134 | + sb.append(", yn = "); | ||
135 | + sb.append(yn); | ||
136 | + sb.append(", created = "); | ||
137 | + sb.append(created); | ||
138 | + sb.append(", modified = "); | ||
139 | + sb.append(modified); | ||
140 | + sb.append("]"); | ||
141 | + return sb.toString(); | ||
142 | + } | ||
143 | +} | ||
0 | \ No newline at end of file | 144 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/sellerInfo/output/SellerInfoOutput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/sellerInfo/output/SellerInfoOutput.java | ||
1 | +package com.dili.myapp.api.sellerInfo.output; | ||
2 | + | ||
3 | +import io.swagger.annotations.ApiModelProperty; | ||
4 | + | ||
5 | +import java.io.Serializable; | ||
6 | +import java.util.*; | ||
7 | +import java.sql.Timestamp; | ||
8 | + | ||
9 | + | ||
10 | +/** | ||
11 | + * <br /> | ||
12 | + * @createTime 2016-11-23 17:19:17 | ||
13 | + * @author template | ||
14 | + */ | ||
15 | +public class SellerInfoOutput implements Serializable { | ||
16 | + | ||
17 | + /** | ||
18 | + * | ||
19 | + */ | ||
20 | + @ApiModelProperty(value = "") | ||
21 | + private Long id; | ||
22 | + /** | ||
23 | + * 手机号 | ||
24 | + */ | ||
25 | + @ApiModelProperty(value = "手机号") | ||
26 | + private String mobilePhone; | ||
27 | + /** | ||
28 | + * 密码 | ||
29 | + */ | ||
30 | + @ApiModelProperty(value = "密码") | ||
31 | + private String accountPwd; | ||
32 | + /** | ||
33 | + * 昵称 | ||
34 | + */ | ||
35 | + @ApiModelProperty(value = "昵称") | ||
36 | + private String accountName; | ||
37 | + /** | ||
38 | + * app类型(默认社区店版:1) | ||
39 | + */ | ||
40 | + @ApiModelProperty(value = "app类型(默认社区店版:1)") | ||
41 | + private Integer appType; | ||
42 | + /** | ||
43 | + * 状态(1:有效 2:无效) | ||
44 | + */ | ||
45 | + @ApiModelProperty(value = "状态(1:有效 2:无效)") | ||
46 | + private Integer yn; | ||
47 | + /** | ||
48 | + * created | ||
49 | + */ | ||
50 | + @ApiModelProperty(value = "created") | ||
51 | + private Date created; | ||
52 | + /** | ||
53 | + * modified | ||
54 | + */ | ||
55 | + @ApiModelProperty(value = "modified") | ||
56 | + private Date modified; | ||
57 | + public void setId (Long id){ | ||
58 | + this.id = id; | ||
59 | + } | ||
60 | + public Long getId(){ | ||
61 | + return this.id; | ||
62 | + } | ||
63 | + public void setMobilePhone (String mobilePhone){ | ||
64 | + this.mobilePhone = mobilePhone; | ||
65 | + } | ||
66 | + public String getMobilePhone(){ | ||
67 | + return this.mobilePhone; | ||
68 | + } | ||
69 | + public void setAccountPwd (String accountPwd){ | ||
70 | + this.accountPwd = accountPwd; | ||
71 | + } | ||
72 | + public String getAccountPwd(){ | ||
73 | + return this.accountPwd; | ||
74 | + } | ||
75 | + public void setAccountName (String accountName){ | ||
76 | + this.accountName = accountName; | ||
77 | + } | ||
78 | + public String getAccountName(){ | ||
79 | + return this.accountName; | ||
80 | + } | ||
81 | + public void setAppType (Integer appType){ | ||
82 | + this.appType = appType; | ||
83 | + } | ||
84 | + public Integer getAppType(){ | ||
85 | + return this.appType; | ||
86 | + } | ||
87 | + public void setYn (Integer yn){ | ||
88 | + this.yn = yn; | ||
89 | + } | ||
90 | + public Integer getYn(){ | ||
91 | + return this.yn; | ||
92 | + } | ||
93 | + public void setCreated (Date created){ | ||
94 | + this.created = created; | ||
95 | + } | ||
96 | + public Date getCreated(){ | ||
97 | + return this.created; | ||
98 | + } | ||
99 | + public void setModified (Date modified){ | ||
100 | + this.modified = modified; | ||
101 | + } | ||
102 | + public Date getModified(){ | ||
103 | + return this.modified; | ||
104 | + } | ||
105 | + | ||
106 | + public String toString(){ | ||
107 | + StringBuffer sb = new StringBuffer(); | ||
108 | + sb.append("SellerInfo ["); | ||
109 | + sb.append("id = "); | ||
110 | + sb.append(id); | ||
111 | + sb.append(", mobilePhone = "); | ||
112 | + sb.append(mobilePhone); | ||
113 | + sb.append(", accountPwd = "); | ||
114 | + sb.append(accountPwd); | ||
115 | + sb.append(", accountName = "); | ||
116 | + sb.append(accountName); | ||
117 | + sb.append(", appType = "); | ||
118 | + sb.append(appType); | ||
119 | + sb.append(", yn = "); | ||
120 | + sb.append(yn); | ||
121 | + sb.append(", created = "); | ||
122 | + sb.append(created); | ||
123 | + sb.append(", modified = "); | ||
124 | + sb.append(modified); | ||
125 | + sb.append("]"); | ||
126 | + return sb.toString(); | ||
127 | + } | ||
128 | +} | ||
0 | \ No newline at end of file | 129 | \ No newline at end of file |
src/main/java/com/dili/myapp/api/shop/input/ShopInput.java
0 → 100644
1 | +++ a/src/main/java/com/dili/myapp/api/shop/input/ShopInput.java | ||
1 | +package com.dili.myapp.api.shop.input; | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | +import io.swagger.annotations.ApiParam; | ||
6 | +import javax.validation.constraints.Min; | ||
7 | +import javax.validation.constraints.NotNull; | ||
8 | +import org.hibernate.validator.constraints.NotBlank; | ||
9 | + | ||
10 | +import java.io.Serializable; | ||
11 | +import java.util.*; | ||
12 | +import java.sql.Timestamp; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * <br /> | ||
18 | + * @createTime 2016-11-23 17:19:17 | ||
19 | + * @author template | ||
20 | + */ | ||
21 | +public class ShopInput implements Serializable{ | ||
22 | + | ||
23 | + /** | ||
24 | + * | ||
25 | + */ | ||
26 | + @ApiParam(value = "",required = true) | ||
27 | + @NotNull(message="不能为空") | ||
28 | + private Long id; | ||
29 | + /** | ||
30 | + * 卖家ID | ||
31 | + */ | ||
32 | + @ApiParam(value = "卖家ID",required = true) | ||
33 | + @NotNull(message="卖家ID不能为空") | ||
34 | + private Long sellerId; | ||
35 | + /** | ||
36 | + * 店铺logo | ||
37 | + */ | ||
38 | + @ApiParam(value = "店铺logo",required = true) | ||
39 | + @NotBlank(message="店铺logo不能为空") | ||
40 | + private String shopLog; | ||
41 | + /** | ||
42 | + * 店铺名称 | ||
43 | + */ | ||
44 | + @ApiParam(value = "店铺名称",required = true) | ||
45 | + @NotBlank(message="店铺名称不能为空") | ||
46 | + private String shopName; | ||
47 | + /** | ||
48 | + * 经营类目id | ||
49 | + */ | ||
50 | + @ApiParam(value = "经营类目id",required = true) | ||
51 | + @NotBlank(message="经营类目id不能为空") | ||
52 | + private String businessCategoryId; | ||
53 | + /** | ||
54 | + * 经营类目名称 | ||
55 | + */ | ||
56 | + @ApiParam(value = "经营类目名称",required = true) | ||
57 | + @NotBlank(message="经营类目名称不能为空") | ||
58 | + private String businessCategoryName; | ||
59 | + /** | ||
60 | + * 所属城市 | ||
61 | + */ | ||
62 | + @ApiParam(value = "所属城市",required = true) | ||
63 | + @NotNull(message="所属城市不能为空") | ||
64 | + private Long addressId; | ||
65 | + /** | ||
66 | + * 详细地址 | ||
67 | + */ | ||
68 | + @ApiParam(value = "详细地址",required = true) | ||
69 | + @NotBlank(message="详细地址不能为空") | ||
70 | + private String addressDetail; | ||
71 | + /** | ||
72 | + * 客服电话 | ||
73 | + */ | ||
74 | + @ApiParam(value = "客服电话",required = true) | ||
75 | + @NotBlank(message="客服电话不能为空") | ||
76 | + private String serviceTel; | ||
77 | + /** | ||
78 | + * 推广码 | ||
79 | + */ | ||
80 | + @ApiParam(value = "推广码",required = true) | ||
81 | + @NotNull(message="推广码不能为空") | ||
82 | + private Long promoCode; | ||
83 | + /** | ||
84 | + * 商品排列方式(1:两列式 2:列表式) | ||
85 | + */ | ||
86 | + @ApiParam(value = "商品排列方式(1:两列式 2:列表式)",required = true) | ||
87 | + @NotNull(message="商品排列方式(1:两列式 2:列表式)不能为空") | ||
88 | + private Integer productDisplayWay; | ||
89 | + /** | ||
90 | + * 配送费 | ||
91 | + */ | ||
92 | + @ApiParam(value = "配送费",required = true) | ||
93 | + @NotNull(message="配送费不能为空") | ||
94 | + private Long postage; | ||
95 | + /** | ||
96 | + * 订单免配送费金额 | ||
97 | + */ | ||
98 | + @ApiParam(value = "订单免配送费金额",required = true) | ||
99 | + @NotNull(message="订单免配送费金额不能为空") | ||
100 | + private Long freeShippingPrice; | ||
101 | + /** | ||
102 | + * 店铺公告 | ||
103 | + */ | ||
104 | + @ApiParam(value = "店铺公告",required = true) | ||
105 | + @NotBlank(message="店铺公告不能为空") | ||
106 | + private String shopNotices; | ||
107 | + /** | ||
108 | + * 状态(1:有效 2:无效) | ||
109 | + */ | ||
110 | + @ApiParam(value = "状态(1:有效 2:无效)",required = true) | ||
111 | + @NotNull(message="状态(1:有效 2:无效)不能为空") | ||
112 | + private Integer yn; | ||
113 | + /** | ||
114 | + * | ||
115 | + */ | ||
116 | + @ApiParam(value = "",required = true) | ||
117 | + @NotNull(message="不能为空") | ||
118 | + private Date created; | ||
119 | + /** | ||
120 | + * | ||
121 | + */ | ||
122 | + @ApiParam(value = "",required = true) | ||
123 | + @NotNull(message="不能为空") | ||
124 | + private Date modified; | ||
125 | + /** | ||
126 | + * 当前页数 | ||
127 | + */ | ||
128 | + private Integer pageNum; | ||
129 | + /** | ||
130 | + * 每个数量 | ||
131 | + */ | ||
132 | + private Integer pageSize; | ||
133 | + public void setId (Long id){ | ||
134 | + this.id = id; | ||
135 | + } | ||
136 | + public Long getId(){ | ||
137 | + return this.id; | ||
138 | + } | ||
139 | + public void setSellerId (Long sellerId){ | ||
140 | + this.sellerId = sellerId; | ||
141 | + } | ||
142 | + public Long getSellerId(){ | ||
143 | + return this.sellerId; | ||
144 | + } | ||
145 | + public void setShopLog (String shopLog){ | ||
146 | + this.shopLog = shopLog; | ||
147 | + } | ||
148 | + public String getShopLog(){ | ||
149 | + return this.shopLog; | ||
150 | + } | ||
151 | + public void setShopName (String shopName){ | ||
152 | + this.shopName = shopName; | ||
153 | + } | ||
154 | + public String getShopName(){ | ||
155 | + return this.shopName; | ||
156 | + } | ||
157 | + public void setBusinessCategoryId (String businessCategoryId){ | ||
158 | + this.businessCategoryId = businessCategoryId; | ||
159 | + } | ||
160 | + public String getBusinessCategoryId(){ | ||
161 | + return this.businessCategoryId; | ||
162 | + } | ||
163 | + public void setBusinessCategoryName (String businessCategoryName){ | ||
164 | + this.businessCategoryName = businessCategoryName; | ||
165 | + } | ||
166 | + public String getBusinessCategoryName(){ | ||
167 | + return this.businessCategoryName; | ||
168 | + } | ||
169 | + public void setAddressId (Long addressId){ | ||
170 | + this.addressId = addressId; | ||
171 | + } | ||
172 | + public Long getAddressId(){ | ||
173 | + return this.addressId; | ||
174 | + } | ||
175 | + public void setAddressDetail (String addressDetail){ | ||
176 | + this.addressDetail = addressDetail; | ||
177 | + } | ||
178 | + public String getAddressDetail(){ | ||
179 | + return this.addressDetail; | ||
180 | + } | ||
181 | + public void setServiceTel (String serviceTel){ | ||
182 | + this.serviceTel = serviceTel; | ||
183 | + } | ||
184 | + public String getServiceTel(){ | ||
185 | + return this.serviceTel; | ||
186 | + } | ||
187 | + public void setPromoCode (Long promoCode){ | ||
188 | + this.promoCode = promoCode; | ||
189 | + } | ||
190 | + public Long getPromoCode(){ | ||
191 | + return this.promoCode; | ||
192 | + } | ||
193 | + public void setProductDisplayWay (Integer productDisplayWay){ | ||
194 | + this.productDisplayWay = productDisplayWay; | ||
195 | + } | ||
196 | + public Integer getProductDisplayWay(){ | ||
197 | + return this.productDisplayWay; | ||
198 | + } | ||
199 | + public void setPostage (Long postage){ | ||
200 | + this.postage = postage; | ||
201 | + } | ||
202 | + public Long getPostage(){ | ||
203 | + return this.postage; | ||
204 | + } | ||
205 | + public void setFreeShippingPrice (Long freeShippingPrice){ | ||
206 | + this.freeShippingPrice = freeShippingPrice; | ||
207 | + } | ||
208 | + public Long getFreeShippingPrice(){ | ||
209 | + return this.freeShippingPrice; | ||
210 | + } | ||
211 | + public void setShopNotices (String shopNotices){ | ||
212 | + this.shopNotices = shopNotices; | ||
213 | + } | ||
214 | + public String getShopNotices(){ | ||
215 | + return this.shopNotices; | ||
216 | + } | ||
217 | + public void setYn (Integer yn){ | ||
218 | + this.yn = yn; | ||
219 | + } | ||
220 | + public Integer getYn(){ | ||
221 | + return this.yn; | ||
222 | + } | ||
223 | + public void setCreated (Date created){ | ||
224 | + this.created = created; | ||
225 | + } | ||
226 | + public Date getCreated(){ | ||
227 | + return this.created; | ||
228 | + } | ||
229 | + public void setModified (Date modified){ | ||
230 | + this.modified = modified; | ||
231 | + } | ||
232 | + public Date getModified(){ | ||
233 | + return this.modified; | ||
234 | + } | ||
235 | + public Integer getPageNum() {return pageNum;} | ||
236 | + public void setPageNum(Integer pageNum) {this.pageNum = pageNum;} | ||
237 | + public Integer getPageSize() {return pageSize;} | ||
238 | + public void setPageSize(Integer pageSize) {this.pageSize = pageSize;} | ||
239 | + | ||
240 | + public String toString(){ | ||
241 | + StringBuffer sb = new StringBuffer(); | ||
242 | + sb.append("Shop ["); | ||
243 | + sb.append("id = "); | ||
244 | + sb.append(id); | ||
245 | + sb.append(", sellerId = "); | ||
246 | + sb.append(sellerId); | ||
247 | + sb.append(", shopLog = "); | ||
248 | + sb.append(shopLog); | ||
249 | + sb.append(", shopName = "); | ||
250 | + sb.append(shopName); | ||
251 | + sb.append(", businessCategoryId = "); | ||
252 | + sb.append(businessCategoryId); | ||
253 | + sb.append(", businessCategoryName = "); | ||
254 | + sb.append(businessCategoryName); | ||
255 | + sb.append(", addressId = "); | ||
256 | + sb.append(addressId); | ||
257 | + sb.append(", addressDetail = "); | ||
258 | + sb.append(addressDetail); | ||
259 | + sb.append(", serviceTel = "); | ||
260 | + sb.append(serviceTel); | ||
261 | + sb.append(", promoCode = "); | ||
262 | + sb.append(promoCode); | ||
263 | + sb.append(", productDisplayWay = "); | ||
264 | + sb.append(productDisplayWay); | ||
265 | + sb.append(", postage = "); | ||
266 | + sb.append(postage); | ||
267 | + sb.append(", freeShippingPrice = "); | ||
268 | + sb.append(freeShippingPrice); | ||
269 | + sb.append(", shopNotices = "); | ||
270 | + sb.append(shopNotices); | ||
271 | + sb.append(", yn = "); | ||
272 | + sb.append(yn); | ||
273 | + sb.append(", created = "); | ||
274 | + sb.append(created); | ||
275 | + sb.append(", modified = "); | ||
276 | + sb.append(modified); | ||
277 | + sb.append("]"); | ||
278 | + return sb.toString(); | ||
279 | + } | ||
280 | +} | ||
0 | \ No newline at end of file | 281 | \ No newline at end of file |