Subversion Repositories SmartDukaan

Rev

Rev 28582 | Rev 34190 | Go to most recent revision | Details | Compare with Previous | 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
	public String getMobile() {
18
		return mobile;
19
	}
20
 
21
	public void setMobile(String mobile) {
22
		this.mobile = mobile;
23
	}
24
 
25
	public String getPassword() {
26
		return password;
27
	}
28
 
29
	public void setPassword(String password) {
30
		this.password = password;
31
	}
32
 
33
	public String getFirstName() {
34
		return firstName;
35
	}
36
 
37
	public void setFirstName(String firstName) {
38
		this.firstName = firstName;
39
	}
40
 
41
	public String getLastName() {
42
		return lastName;
43
	}
44
 
45
	public void setLastName(String lastName) {
46
		this.lastName = lastName;
47
	}
48
 
49
	public String getEmail() {
50
		return email;
51
	}
52
 
53
	public void setEmail(String email) {
54
		this.email = email;
55
	}
56
 
34186 vikas.jang 57
	@Override
58
	public String toString() {
59
		return "UserModel{" +
60
				"mobile='" + mobile + '\'' +
61
				", password='" + password + '\'' +
62
				", firstName='" + firstName + '\'' +
63
				", lastName='" + lastName + '\'' +
64
				", email='" + email + '\'' +
65
				'}';
66
	}
67
 
28582 amit.gupta 68
}