From 1dfe61fdf1b36061871ead5337172801e64df201 Mon Sep 17 00:00:00 2001 From: Jinquan_Ou <Jinquan@gdut.com> Date: 星期一, 03 四月 2023 16:07:36 +0800 Subject: [PATCH] 魅宠、家庭小医生1.0 --- zhang-content/src/main/java/com/ruoyi/domain/ZfMaster.java | 125 +++++------------------------------------ 1 files changed, 17 insertions(+), 108 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfMaster.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfMaster.java index 5d09b2c..90840e8 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfMaster.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfMaster.java @@ -3,6 +3,9 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; + import java.io.Serializable; /** @@ -14,166 +17,72 @@ * @since 2023-03-12 */ @TableName("zf_master") +@Data public class ZfMaster implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) - private Integer id; + private Long id; /** - * 瀹犵墿琛╥d + * 瀹犵墿id */ - private Integer petId; + private Long petId; /** * 鍏荤姮浜哄鍚� */ + @Excel(name = "name") private String name; /** * 璇佷欢绫诲瀷 */ + @Excel(name="璇佷欢绫诲瀷") private String certificateType; /** * 璇佷欢鍙风爜 */ + @Excel(name = "璇佷欢鍙风爜") private String certificateNo; /** * 鍥哄畾鐢佃瘽 */ + @Excel(name = "鍥哄畾鐢佃瘽") private String fixedNo; /** * 绉诲姩鐢佃瘽 */ + @Excel(name = "绉诲姩鐢佃瘽") private String phoneNo; /** - * 鎷ユ湁鐘彧鏁伴噺 + * 鎷ユ湁瀹犵墿鏁伴噺 */ + @Excel(name = "鎷ユ湁瀹犵墿鏁伴噺") private Integer many; /** * 浣忔墍璇︾粏鍦板潃 */ + @Excel(name = "浣忔墍璇︾粏鍦板潃") private String address; /** * 浣忔墍鎬ц川 */ + @Excel(name = "浣忔墍鎬ц川") private String property; /** * 鐢靛瓙閭欢 */ + @Excel(name = "閭") private String email; - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getPetId() { - return petId; - } - - public void setPetId(Integer petId) { - this.petId = petId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getCertificateType() { - return certificateType; - } - - public void setCertificateType(String certificateType) { - this.certificateType = certificateType; - } - - public String getCertificateNo() { - return certificateNo; - } - - public void setCertificateNo(String certificateNo) { - this.certificateNo = certificateNo; - } - - public String getFixedNo() { - return fixedNo; - } - - public void setFixedNo(String fixedNo) { - this.fixedNo = fixedNo; - } - - public String getPhoneNo() { - return phoneNo; - } - - public void setPhoneNo(String phoneNo) { - this.phoneNo = phoneNo; - } - - public Integer getMany() { - return many; - } - - public void setMany(Integer many) { - this.many = many; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public String getProperty() { - return property; - } - - public void setProperty(String property) { - this.property = property; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - @Override - public String toString() { - return "ZfMaster{" + - "id=" + id + - ", petId=" + petId + - ", name=" + name + - ", certificateType=" + certificateType + - ", certificateNo=" + certificateNo + - ", fixedNo=" + fixedNo + - ", phoneNo=" + phoneNo + - ", many=" + many + - ", address=" + address + - ", property=" + property + - ", email=" + email + - "}"; - } } -- Gitblit v1.9.1