| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_equipment") |
| | | @Data |
| | | public class ZfEquipment implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 设备名称 |
| | | */ |
| | | @Excel(name = "设备名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 记录时间 |
| | | */ |
| | | private LocalDateTime createDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | /** |
| | | * 购买人 |
| | | */ |
| | | @Excel(name = "购买人") |
| | | private String buyer; |
| | | |
| | | /** |
| | | * 事项内容 |
| | | */ |
| | | @Excel(name = "事项内容") |
| | | private String content; |
| | | |
| | | /** |
| | | * 存放地点 |
| | | */ |
| | | @Excel(name = "存放地点") |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 家庭id |
| | | */ |
| | | @Excel(name = "家庭id") |
| | | private String familyId; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | private String url; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public LocalDateTime getCreateDate() { |
| | | return createDate; |
| | | } |
| | | |
| | | public void setCreateDate(LocalDateTime createDate) { |
| | | this.createDate = createDate; |
| | | } |
| | | |
| | | public String getBuyer() { |
| | | return buyer; |
| | | } |
| | | |
| | | public void setBuyer(String buyer) { |
| | | this.buyer = buyer; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfEquipment{" + |
| | | "id=" + id + |
| | | ", name=" + name + |
| | | ", createDate=" + createDate + |
| | | ", buyer=" + buyer + |
| | | ", content=" + content + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |