2 changed files with 220 additions and 0 deletions
@ -0,0 +1,205 @@ |
|||
package com.xtmis.suu.entity; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 学生bean |
|||
* |
|||
*/ |
|||
public class User { |
|||
// 尚未
|
|||
// introduction,remark,
|
|||
// latest_time,
|
|||
// login_time,
|
|||
// login_ip,login_failed,
|
|||
// create_time,update_time
|
|||
private Integer id;//
|
|||
private String username;//
|
|||
private String idnum; |
|||
private String nickname; |
|||
private String email; |
|||
private String mobile;//
|
|||
private String password; |
|||
private String salt;//
|
|||
private String avatar;//
|
|||
private Integer gender;//
|
|||
private Date birthday; |
|||
private String grade; |
|||
private String nclass; |
|||
private String nation;//民族
|
|||
private String addr;//
|
|||
private String jh1name; |
|||
private String jh1idnum; |
|||
private String jh1mobile; |
|||
private String jh2name; |
|||
private String jh2idnum; |
|||
private String jh2mobile; |
|||
|
|||
public Integer getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Integer id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getUsername() { |
|||
return username; |
|||
} |
|||
|
|||
public void setUsername(String username) { |
|||
this.username = username; |
|||
} |
|||
|
|||
public String getIdnum() { |
|||
return idnum; |
|||
} |
|||
|
|||
public void setIdnum(String idnum) { |
|||
this.idnum = idnum; |
|||
} |
|||
|
|||
public String getNickname() { |
|||
return nickname; |
|||
} |
|||
|
|||
public void setNickname(String nickname) { |
|||
this.nickname = nickname; |
|||
} |
|||
|
|||
public String getEmail() { |
|||
return email; |
|||
} |
|||
|
|||
public void setEmail(String email) { |
|||
this.email = email; |
|||
} |
|||
|
|||
public String getMobile() { |
|||
return mobile; |
|||
} |
|||
|
|||
public void setMobile(String mobile) { |
|||
this.mobile = mobile; |
|||
} |
|||
|
|||
public String getPassword() { |
|||
return password; |
|||
} |
|||
|
|||
public void setPassword(String password) { |
|||
this.password = password; |
|||
} |
|||
|
|||
public String getSalt() { |
|||
return salt; |
|||
} |
|||
|
|||
public void setSalt(String salt) { |
|||
this.salt = salt; |
|||
} |
|||
|
|||
public String getAvatar() { |
|||
return avatar; |
|||
} |
|||
|
|||
public void setAvatar(String avatar) { |
|||
this.avatar = avatar; |
|||
} |
|||
|
|||
public Integer getGender() { |
|||
return gender; |
|||
} |
|||
|
|||
public void setGender(Integer gender) { |
|||
this.gender = gender; |
|||
} |
|||
|
|||
public Date getBirthday() { |
|||
return birthday; |
|||
} |
|||
|
|||
public void setBirthday(Date birthday) { |
|||
this.birthday = birthday; |
|||
} |
|||
|
|||
public String getGrade() { |
|||
return grade; |
|||
} |
|||
|
|||
public void setGrade(String grade) { |
|||
this.grade = grade; |
|||
} |
|||
|
|||
public String getNclass() { |
|||
return nclass; |
|||
} |
|||
|
|||
public void setNclass(String nclass) { |
|||
this.nclass = nclass; |
|||
} |
|||
|
|||
public String getNation() { |
|||
return nation; |
|||
} |
|||
|
|||
public void setNation(String nation) { |
|||
this.nation = nation; |
|||
} |
|||
|
|||
public String getAddr() { |
|||
return addr; |
|||
} |
|||
|
|||
public void setAddr(String addr) { |
|||
this.addr = addr; |
|||
} |
|||
|
|||
public String getJh1name() { |
|||
return jh1name; |
|||
} |
|||
|
|||
public void setJh1name(String jh1name) { |
|||
this.jh1name = jh1name; |
|||
} |
|||
|
|||
public String getJh1idnum() { |
|||
return jh1idnum; |
|||
} |
|||
|
|||
public void setJh1idnum(String jh1idnum) { |
|||
this.jh1idnum = jh1idnum; |
|||
} |
|||
|
|||
public String getJh1mobile() { |
|||
return jh1mobile; |
|||
} |
|||
|
|||
public void setJh1mobile(String jh1mobile) { |
|||
this.jh1mobile = jh1mobile; |
|||
} |
|||
|
|||
public String getJh2name() { |
|||
return jh2name; |
|||
} |
|||
|
|||
public void setJh2name(String jh2name) { |
|||
this.jh2name = jh2name; |
|||
} |
|||
|
|||
public String getJh2idnum() { |
|||
return jh2idnum; |
|||
} |
|||
|
|||
public void setJh2idnum(String jh2idnum) { |
|||
this.jh2idnum = jh2idnum; |
|||
} |
|||
|
|||
public String getJh2mobile() { |
|||
return jh2mobile; |
|||
} |
|||
|
|||
public void setJh2mobile(String jh2mobile) { |
|||
this.jh2mobile = jh2mobile; |
|||
} |
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
package com.xtmis.suu.mapper; |
|||
|
|||
import com.xtmis.suu.entity.User; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
public interface UserMapper { |
|||
/** |
|||
* 多条件查询 |
|||
* @param somap |
|||
* @return |
|||
*/ |
|||
List<User> getListByMap(Map somap); |
|||
} |
|||
Loading…
Reference in new issue