Subversion Repositories SmartDukaan

Rev

Rev 398 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 398 Rev 399
Line 1... Line 1...
1
package in.shop2020.serving.rest;
1
package in.shop2020.serving.controllers;
2
 
2
 
3
public class Auth {
3
public class Auth {
4
	
4
	
5
	private String id;
5
	private String id;
-
 
6
	
-
 
7
	private String userName;
-
 
8
	private String password;
-
 
9
	
-
 
10
	public Auth(){
-
 
11
		super();
-
 
12
	}
-
 
13
	
-
 
14
	public Auth(String id, String userName, String password){
-
 
15
		super();
-
 
16
		this.id = id;
-
 
17
		this.userName = userName;
-
 
18
		this.password = password;
-
 
19
	}
-
 
20
	
6
	public String getId() {
21
	public String getId() {
7
		return id;
22
		return id;
8
	}
23
	}
9
 
24
 
10
	public void setId(String id) {
25
	public void setId(String id) {
11
		this.id = id;
26
		this.id = id;
12
	}
27
	}
13
 
28
 
14
	private String userName;
-
 
15
	private String password;
-
 
16
	
29
	
17
	public String getUserName() {
30
	public String getUserName() {
18
		return userName;
31
		return userName;
19
	}
32
	}
20
	
33
	
Line 31... Line 44...
31
	}
44
	}
32
	
45
	
33
	public String toString(){
46
	public String toString(){
34
		return this.userName+":"+this.password;
47
		return this.userName+":"+this.password;
35
	}
48
	}
-
 
49
	
-
 
50
	
36
}
51
}