Subversion Repositories SmartDukaan

Rev

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

Rev 4793 Rev 16244
Line 13... Line 13...
13
    private String  emailId;
13
    private String  emailId;
14
    private String  password;
14
    private String  password;
15
    private String  name;
15
    private String  name;
16
    private long    managerId;
16
    private long    managerId;
17
    private boolean is_active;
17
    private boolean is_active;
18
 
-
 
-
 
18
    private boolean is_pmCrmUser;
-
 
19
    private boolean is_allAssignable;
19
 
20
 
20
	/**
21
	/**
21
     * Converts our domain model object from its thrift object representation.
22
     * Converts our domain model object from its thrift object representation.
22
     * @param tAgent
23
     * @param tAgent
23
     * @return
24
     * @return
Line 29... Line 30...
29
        agent.name = tAgent.getName();
30
        agent.name = tAgent.getName();
30
        agent.emailId = tAgent.getEmailId();
31
        agent.emailId = tAgent.getEmailId();
31
        agent.managerId = tAgent.getManagerId();
32
        agent.managerId = tAgent.getManagerId();
32
        agent.password = tAgent.getPassword();
33
        agent.password = tAgent.getPassword();
33
        agent.is_active = tAgent.isIs_active();
34
        agent.is_active = tAgent.isIs_active();
-
 
35
        agent.is_pmCrmUser = tAgent.isIs_pmCrmUser();
-
 
36
        agent.is_allAssignable = tAgent.isIs_allAssignable();
34
        return agent;
37
        return agent;
35
    }
38
    }
36
 
39
 
37
    /**
40
    /**
38
     * Converts this model object to corresponding thrift object representation.
41
     * Converts this model object to corresponding thrift object representation.
Line 45... Line 48...
45
        tAgent.setId(id);
48
        tAgent.setId(id);
46
        tAgent.setName(name);
49
        tAgent.setName(name);
47
        tAgent.setManagerId(managerId);
50
        tAgent.setManagerId(managerId);
48
        tAgent.setPassword(password);
51
        tAgent.setPassword(password);
49
        tAgent.setIs_active(is_active);
52
        tAgent.setIs_active(is_active);
-
 
53
        tAgent.setIs_pmCrmUser(is_pmCrmUser);
-
 
54
        tAgent.setIs_allAssignable(is_allAssignable);
50
        return tAgent;
55
        return tAgent;
51
    }
56
    }
52
 
57
 
53
    public long getId() {
58
    public long getId() {
54
        return id;
59
        return id;
Line 95... Line 100...
95
	}
100
	}
96
 
101
 
97
	public void setIs_active(boolean is_active) {
102
	public void setIs_active(boolean is_active) {
98
		this.is_active = is_active;
103
		this.is_active = is_active;
99
	}
104
	}
-
 
105
 
-
 
106
	public boolean isIs_pmCrmUser() {
-
 
107
		return is_pmCrmUser;
-
 
108
	}
-
 
109
 
-
 
110
	public void setIs_pmCrmUser(boolean is_pmCrmUser) {
-
 
111
		this.is_pmCrmUser = is_pmCrmUser;
-
 
112
	}
-
 
113
 
-
 
114
	public boolean isIs_allAssignable() {
-
 
115
		return is_allAssignable;
-
 
116
	}
-
 
117
 
-
 
118
	public void setIs_allAssignable(boolean is_allAssignable) {
-
 
119
		this.is_allAssignable = is_allAssignable;
-
 
120
	}
100
}
121
}