Subversion Repositories SmartDukaan

Rev

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

Rev 23357 Rev 23880
Line 27... Line 27...
27
	@Enumerated(EnumType.STRING)
27
	@Enumerated(EnumType.STRING)
28
	@Column(name = "account_type")
28
	@Column(name = "account_type")
29
	private AccountType type ;
29
	private AccountType type ;
30
	
30
	
31
	@Column(name = "account_key")
31
	@Column(name = "account_key")
32
	private String accountKey;
32
	private int accountKey;
33
	
33
	
34
	
34
	
35
	public int getId() {
35
	public int getId() {
36
		return id;
36
		return id;
37
	}
37
	}
Line 49... Line 49...
49
	}
49
	}
50
	public void setType(AccountType accountType) {
50
	public void setType(AccountType accountType) {
51
		this.type = accountType;
51
		this.type = accountType;
52
	}
52
	}
53
	public int getAccountKey() {
53
	public int getAccountKey() {
54
		return Integer.parseInt(accountKey);
54
		return accountKey;
55
	}
55
	}
56
	public void setAccountKey(int accountKey) {
56
	public void setAccountKey(int accountKey) {
57
		this.accountKey = String.valueOf(accountKey);
57
		this.accountKey = accountKey;
58
	}
58
	}
59
	
59
	
60
	
60
	
61
	@Override
61
	@Override
62
	public int hashCode() {
62
	public int hashCode() {