| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | 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.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_clean") |
| | | @Data |
| | | public class ZfClean implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 0:保洁,1:收纳 |
| | |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 电子文件路径 |
| | | */ |
| | | private String url; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | @Excel(name="所属家庭编号(导入数据时请删除此栏)") |
| | | private String familyId; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getKind() { |
| | | return kind; |
| | | } |
| | | /** |
| | | * 是否是本家庭的数据(0:不是,1:是) |
| | | */ |
| | | @TableField(exist = false) |
| | | private Integer ownData = 0; |
| | | |
| | | public void setKind(Integer kind) { |
| | | this.kind = kind; |
| | | } |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createTime; |
| | | |
| | | public String getSuitable() { |
| | | return suitable; |
| | | } |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | @TableField(exist = false) |
| | | private Date happenStartTime; |
| | | |
| | | public void setSuitable(String suitable) { |
| | | this.suitable = suitable; |
| | | } |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | @TableField(exist = false) |
| | | private Date happenEndTime; |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | /** |
| | | * 发生时间 |
| | | */ |
| | | @Excel(name = "发生时间", dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private Date happenTime; |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getMethod() { |
| | | return method; |
| | | } |
| | | |
| | | public void setMethod(String method) { |
| | | this.method = method; |
| | | } |
| | | |
| | | public String getPlace() { |
| | | return place; |
| | | } |
| | | |
| | | public void setPlace(String place) { |
| | | this.place = place; |
| | | } |
| | | |
| | | 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 "ZfClean{" + |
| | | "id=" + id + |
| | | ", kind=" + kind + |
| | | ", suitable=" + suitable + |
| | | ", type=" + type + |
| | | ", method=" + method + |
| | | ", place=" + place + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |