95 lines
1.7 KiB
Plaintext
95 lines
1.7 KiB
Plaintext
package com.bonus.sys.beans;
|
|
|
|
import com.bonus.sys.BaseBean;
|
|
|
|
public class OrgBean extends BaseBean implements java.io.Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private Integer id;
|
|
|
|
private String name;
|
|
|
|
private String code;
|
|
|
|
private String description;
|
|
|
|
private Integer parentId;
|
|
|
|
private Float num;
|
|
|
|
private UserBean user;
|
|
|
|
private OrgBean parent;
|
|
|
|
public OrgBean getParent() {
|
|
return parent;
|
|
}
|
|
|
|
public void setParent(OrgBean parent) {
|
|
this.parent = parent;
|
|
}
|
|
|
|
public String getCode() {
|
|
return code;
|
|
}
|
|
|
|
public void setCode(String code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public UserBean getUser() {
|
|
return user;
|
|
}
|
|
|
|
public void setUser(UserBean user) {
|
|
this.user = user;
|
|
}
|
|
|
|
|
|
|
|
public Float getNum() {
|
|
return num;
|
|
}
|
|
|
|
public void setNum(Float num) {
|
|
this.num = num;
|
|
}
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name == null ? null : name.trim();
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description == null ? null : description.trim();
|
|
}
|
|
|
|
public Integer getParentId() {
|
|
return parentId;
|
|
}
|
|
|
|
public void setParentId(Integer parentId) {
|
|
this.parentId = parentId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "OrgBean [id=" + id + ", name=" + name + ", description=" + description + ", parentId=" + parentId
|
|
+ ", num=" + num + "]";
|
|
}
|
|
} |