Subversion Repositories SmartDukaan

Rev

Rev 34186 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
28582 amit.gupta 1
package com.spice.profitmandi.web.controller;
2
 
3
import com.fasterxml.jackson.annotation.JsonProperty;
4
 
5
public class UserModel {
6
	@JsonProperty(required = true)
7
	private String mobile;
8
	@JsonProperty(required = true)
9
	private String password;
10
	@JsonProperty(required = false)
11
	private String firstName;
12
	@JsonProperty(required = false)
13
	private String lastName;
14
	@JsonProperty(required = false)
15
	private String email;
16
 
17
	@Override
18
	public String toString() {
19
		return "UserModel [mobile=" + mobile + ", password=" + password + "]";
20
	}
21
 
22
	public String getMobile() {
23
		return mobile;
24
	}
25
 
26
	public void setMobile(String mobile) {
27
		this.mobile = mobile;
28
	}
29
 
30
	public String getPassword() {
31
		return password;
32
	}
33
 
34
	public void setPassword(String password) {
35
		this.password = password;
36
	}
37
 
38
	public String getFirstName() {
39
		return firstName;
40
	}
41
 
42
	public void setFirstName(String firstName) {
43
		this.firstName = firstName;
44
	}
45
 
46
	public String getLastName() {
47
		return lastName;
48
	}
49
 
50
	public void setLastName(String lastName) {
51
		this.lastName = lastName;
52
	}
53
 
54
	public String getEmail() {
55
		return email;
56
	}
57
 
58
	public void setEmail(String email) {
59
		this.email = email;
60
	}
61
 
62
}