/sun/hostcaptain/trunk/src/ak/hostcaptain/core/model/SystemUser.java |
---|
14,6 → 14,7 |
/** user id in the OS */ |
private Integer uid; |
private String name; |
private User owner; |
private Date modStamp; |
protected SystemUser() |
64,6 → 65,20 |
/** |
* |
* @hibernate.many-to-one |
*/ |
public User getOwner() |
{ |
return owner; |
} |
public void setOwner(User owner) |
{ |
this.owner = owner; |
} |
/** |
* |
* @hibernate.timestamp column="mod_stamp" |
*/ |
public Date getModStamp() |
/sun/hostcaptain/trunk/src/ak/hostcaptain/core/model/User.java |
---|
13,6 → 13,8 |
private Long id; |
private String login; |
private String password; |
private User boss; |
private Boolean superuser; |
private Date modStamp; |
protected User() |
84,6 → 86,34 |
/** |
* |
* @hibernate.many-to-one |
*/ |
public User getBoss() |
{ |
return boss; |
} |
public void setBoss(User boss) |
{ |
this.boss = boss; |
} |
/** |
* |
* @hibernate.property |
*/ |
public Boolean getSuperuser() |
{ |
return superuser; |
} |
public void setSuperuser(Boolean superuser) |
{ |
this.superuser = superuser; |
} |
/** |
* |
* @hibernate.timestamp column="mod_stamp" |
*/ |
public Date getModStamp() |