zoukankan      html  css  js  c++  java
  • 双表的增删改查-实体类

    package com.lzl.pojo;

    import java.io.Serializable;

    public class Doctor implements Serializable{

    /**
    *
    */
    private static final long serialVersionUID = 1L;

    private int id;//主键

    private String name;//姓名

    private String rzdate;//入职日 期

    private String birthday;//生 日

    private int grader;//性别

    private int age;//年龄

    private int province;//省 id

    private int town;//市id

    private int county;//区id

    private int desk;//科室id

    private int adept;//擅 长id

    private String touxiang;//头像|

    private String sname;// 自name

    private String cname;// 市name

    private String xname;//区name

    private String kname; //科室name

    private int gl;//工龄

    private String scname;//擅 长

    private int MaxAge;//最大年龄

    private int MinAge;//最小年龄

    private String sfz;//身份证

    public String getSfz() {
    return sfz;
    }

    public void setSfz(String sfz) {
    this.sfz = sfz;
    }

    public String getTelephone() {
    return telephone;
    }

    public void setTelephone(String telephone) {
    this.telephone = telephone;
    }

    private String telephone;//电话
    public int getId() {
    return id;
    }

    public void setId(int id) {
    this.id = id;
    }

    public String getName() {
    return name;
    }

    public void setName(String name) {
    this.name = name;
    }

    public String getRzdate() {
    return rzdate;
    }

    public void setRzdate(String rzdate) {
    this.rzdate = rzdate;
    }

    public String getBirthday() {
    return birthday;
    }

    public void setBirthday(String birthday) {
    this.birthday = birthday;
    }

    public int getGrader() {
    return grader;
    }

    public void setGrader(int grader) {
    this.grader = grader;
    }

    public int getAge() {
    return age;
    }

    public void setAge(int age) {
    this.age = age;
    }

    public int getProvince() {
    return province;
    }

    public void setProvince(int province) {
    this.province = province;
    }

    public int getTown() {
    return town;
    }

    public void setTown(int town) {
    this.town = town;
    }

    public int getCounty() {
    return county;
    }

    public void setCounty(int county) {
    this.county = county;
    }

    public int getDesk() {
    return desk;
    }

    public void setDesk(int desk) {
    this.desk = desk;
    }

    public int getAdept() {
    return adept;
    }

    public void setAdept(int adept) {
    this.adept = adept;
    }

    public String getTouxiang() {
    return touxiang;
    }

    public void setTouxiang(String touxiang) {
    this.touxiang = touxiang;
    }

    public String getSname() {
    return sname;
    }

    public void setSname(String sname) {
    this.sname = sname;
    }

    public String getCname() {
    return cname;
    }

    public void setCname(String cname) {
    this.cname = cname;
    }

    public String getXname() {
    return xname;
    }

    public void setXname(String xname) {
    this.xname = xname;
    }

    public String getKname() {
    return kname;
    }

    public void setKname(String kname) {
    this.kname = kname;
    }

    public int getGl() {
    return gl;
    }

    public void setGl(int gl) {
    this.gl = gl;
    }

    public String getScname() {
    return scname;
    }

    public void setScname(String scname) {
    this.scname = scname;
    }

    public int getMaxAge() {
    return MaxAge;
    }

    public void setMaxAge(int maxAge) {
    MaxAge = maxAge;
    }

    public int getMinAge() {
    return MinAge;
    }

    public void setMinAge(int minAge) {
    MinAge = minAge;
    }

    public Doctor(int id, String name, String rzdate, String birthday, int grader, int age, int province, int town,
    int county, int desk, int adept, String touxiang, String sname, String cname, String xname, String kname,
    int gl, String scname, int maxAge, int minAge, String sfz, String telephone) {
    super();
    this.id = id;
    this.name = name;
    this.rzdate = rzdate;
    this.birthday = birthday;
    this.grader = grader;
    this.age = age;
    this.province = province;
    this.town = town;
    this.county = county;
    this.desk = desk;
    this.adept = adept;
    this.touxiang = touxiang;
    this.sname = sname;
    this.cname = cname;
    this.xname = xname;
    this.kname = kname;
    this.gl = gl;
    this.scname = scname;
    MaxAge = maxAge;
    MinAge = minAge;
    this.sfz = sfz;
    this.telephone = telephone;
    }


    @Override
    public String toString() {
    return "Doctor [id=" + id + ", name=" + name + ", rzdate=" + rzdate + ", birthday=" + birthday + ", grader="
    + grader + ", age=" + age + ", province=" + province + ", town=" + town + ", county=" + county
    + ", desk=" + desk + ", adept=" + adept + ", touxiang=" + touxiang + ", sname=" + sname + ", cname="
    + cname + ", xname=" + xname + ", kname=" + kname + ", gl=" + gl + ", scname=" + scname + ", MaxAge="
    + MaxAge + ", MinAge=" + MinAge + ", sfz=" + sfz + ", telephone=" + telephone + "]";
    }

    public Doctor() {
    super();
    // TODO Auto-generated constructor stub
    }




    }

  • 相关阅读:
    红黑树深入剖析及Java实现
    Innodb中的事务隔离级别和锁的关系
    从实际案例聊聊Java应用的GC优化
    Java HotSpot VM Options 参数设置
    jvm 字节码查看
    JDK8-废弃永久代(PermGen)迎来元空间(Metaspace)
    jsp 预编译
    MySQL中有关TIMESTAMP和DATETIME的总结
    MySQL 索引及优化实战
    spring boot 配置https 报这个错误:java.lang.IllegalArgumentException: Private key must be accompanied by certificate chain
  • 原文地址:https://www.cnblogs.com/liuzhaolong/p/12874613.html
Copyright © 2011-2022 走看看