Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
37126 amit 1
package com.spice.profitmandi.dao.model;
2
 
3
/**
4
 * One row of the dev/staging password-override bulk download/upload sheet.
5
 * Columns: Type | Id | Identifier | Password (cleartext).
6
 */
7
public class PasswordOverrideRow {
8
 
9
	private String type;        // AUTH_USER | PARTNER
10
	private int authUserId;     // set for AUTH_USER
11
	private int retailerId;     // set for PARTNER
12
	private String identifier;  // email/mobile (auth) or partner name/code
13
	private String cleartextPassword;
14
 
15
	public PasswordOverrideRow() {
16
	}
17
 
18
	public PasswordOverrideRow(String type, int authUserId, int retailerId, String identifier,
19
			String cleartextPassword) {
20
		this.type = type;
21
		this.authUserId = authUserId;
22
		this.retailerId = retailerId;
23
		this.identifier = identifier;
24
		this.cleartextPassword = cleartextPassword;
25
	}
26
 
27
	public String getType() {
28
		return type;
29
	}
30
 
31
	public void setType(String type) {
32
		this.type = type;
33
	}
34
 
35
	public int getAuthUserId() {
36
		return authUserId;
37
	}
38
 
39
	public void setAuthUserId(int authUserId) {
40
		this.authUserId = authUserId;
41
	}
42
 
43
	public int getRetailerId() {
44
		return retailerId;
45
	}
46
 
47
	public void setRetailerId(int retailerId) {
48
		this.retailerId = retailerId;
49
	}
50
 
51
	public String getIdentifier() {
52
		return identifier;
53
	}
54
 
55
	public void setIdentifier(String identifier) {
56
		this.identifier = identifier;
57
	}
58
 
59
	public String getCleartextPassword() {
60
		return cleartextPassword;
61
	}
62
 
63
	public void setCleartextPassword(String cleartextPassword) {
64
		this.cleartextPassword = cleartextPassword;
65
	}
66
}