Browse Source

科室对象bean修改

rengb 5 years ago
parent
commit
7ea638c1ff
1 changed files with 13 additions and 112 deletions
  1. 13 112
      tran-service/src/main/java/com/diagbot/entity/HospitalDept.java

+ 13 - 112
tran-service/src/main/java/com/diagbot/entity/HospitalDept.java

@@ -3,6 +3,8 @@ package com.diagbot.entity;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Getter;
+import lombok.Setter;
 
 import java.io.Serializable;
 import java.util.Date;
@@ -16,6 +18,8 @@ import java.util.Date;
  * @since 2018-11-19
  */
 @TableName("tran_hospital_dept")
+@Getter
+@Setter
 public class HospitalDept implements Serializable {
 
     private static final long serialVersionUID = 1L;
@@ -86,116 +90,13 @@ public class HospitalDept implements Serializable {
      */
     private String remark;
 
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-    public String getIsDeleted() {
-        return isDeleted;
-    }
-
-    public void setIsDeleted(String isDeleted) {
-        this.isDeleted = isDeleted;
-    }
-    public Date getGmtCreate() {
-        return gmtCreate;
-    }
-
-    public void setGmtCreate(Date gmtCreate) {
-        this.gmtCreate = gmtCreate;
-    }
-    public Date getGmtModified() {
-        return gmtModified;
-    }
-
-    public void setGmtModified(Date gmtModified) {
-        this.gmtModified = gmtModified;
-    }
-    public String getCreator() {
-        return creator;
-    }
-
-    public void setCreator(String creator) {
-        this.creator = creator;
-    }
-    public String getModifier() {
-        return modifier;
-    }
-
-    public void setModifier(String modifier) {
-        this.modifier = modifier;
-    }
-    public String getCode() {
-        return code;
-    }
-
-    public void setCode(String code) {
-        this.code = code;
-    }
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-    public String getHospitalCode() {
-        return hospitalCode;
-    }
-
-    public void setHospitalCode(String hospitalCode) {
-        this.hospitalCode = hospitalCode;
-    }
-    public String getHospitalName() {
-        return hospitalName;
-    }
-
-    public void setHospitalName(String hospitalName) {
-        this.hospitalName = hospitalName;
-    }
-
-    public String getConceptDeptName() {
-        return conceptDeptName;
-    }
-
-    public void setConceptDeptName(String conceptDeptName) {
-        this.conceptDeptName = conceptDeptName;
-    }
-
-    public Integer getStatus() {
-        return status;
-    }
-
-    public void setStatus(Integer status) {
-        this.status = status;
-    }
-    public String getRemark() {
-        return remark;
-    }
-
-    public void setRemark(String remark) {
-        this.remark = remark;
-    }
-
-    @Override
-    public String toString() {
-        return "HospitalDept{" +
-                "id=" + id +
-                ", isDeleted=" + isDeleted +
-                ", gmtCreate=" + gmtCreate +
-                ", gmtModified=" + gmtModified +
-                ", creator=" + creator +
-                ", modifier=" + modifier +
-                ", code=" + code +
-                ", name=" + name +
-                ", hospitalCode=" + hospitalCode +
-                ", hospitalName=" + hospitalName +
-                ", conceptDeptName=" + conceptDeptName +
-                ", status=" + status +
-                ", remark=" + remark +
-                "}";
-    }
+    /**
+     * 医院科室地址
+     */
+    private String url;
+
+    /**
+     * 排序号
+     */
+    private Integer orderNo;
 }