package com.pengcheng.mybatis.models;
import java.io.Serializable;
public class User implements Serializable{
private String um;
private String user_name;
private String dept_id;
private String email;
private int enable;
private String created_by;
private String created_time;
private String modified_by;
private String modified_time;
private int is_del;
public String getUm() {
return um;
}
public void setUm(String um) {
this.um = um;
}
public String getUser_name() {
return user_name;
}
public void setUser_name(String user_name) {
this.user_name = user_name;
}
public String getDept_id() {
return dept_id;
}
public void setDept_id(String dept_id) {
this.dept_id = dept_id;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public int getEnable() {
return enable;
}
public void setEnable(int enable) {
this.enable = enable;
}
public String getCreated_by() {
return created_by;
}
public void setCreated_by(String created_by) {
this.created_by = created_by;
}
public String getCreated_time() {
return created_time;
}
public void setCreated_time(String created_time) {
this.created_time = created_time;
}
public String getModified_by() {
return modified_by;
}
public void setModified_by(String modified_by) {
this.modified_by = modified_by;
}
public String getModified_time() {
return modified_time;
}
public void setModified_time(String modified_time) {
this.modified_time = modified_time;
}
public int getIs_del() {
return is_del;
}
public void setIs_del(int is_del) {
this.is_del = is_del;
}
public User(String um, String user_name, String dept_id, String email, int enable, String created_by,
String created_time, String modified_by, String modified_time, int is_del) {
super();
this.um = um;
this.user_name = user_name;
this.dept_id = dept_id;
this.email = email;
this.enable = enable;
this.created_by = created_by;
this.created_time = created_time;
this.modified_by = modified_by;
this.modified_time = modified_time;
this.is_del = is_del;
}
public User() {
super();
}
}
package com.pengcheng.mybatis.models;
import java.io.Serializable;
import java.util.List;
public class Dept extends BaseBean implements Serializable{
private int id;
private String dept_name;
private String description;
private String ps_number;
private List<User> user;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getDept_name() {
return dept_name;
}
public void setDept_name(String dept_name) {
this.dept_name = dept_name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getPs_number() {
return ps_number;
}
public void setPs_number(String ps_number) {
this.ps_number = ps_number;
}
public List<User> getUser() {
return user;
}
public void setUser(List<User> user) {
this.user = user;
}
@Override
public String toString() {
return "Dept [users=" + user + "]";
}
}