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.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author ojq
|
* @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 Long id;
|
|
/**
|
* 设备名称
|
*/
|
@Excel(name = "设备名称")
|
private String name;
|
|
/**
|
* 记录时间
|
*/
|
@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;
|
|
private String url;
|
|
@Excel(name = "是否注销",readConverterExp = "0=正常,1=已注销")
|
private Integer status;
|
|
|
|
}
|