package com.ruoyi.system.domain;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
/**
|
* 【请填写功能名称】对象 equipmentinfo
|
*
|
* @author ruoyi
|
* @date 2023-05-25
|
*/
|
public class Equipmentinfo extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键 */
|
private Long id;
|
|
/** 设备类别 */
|
@Excel(name = "设备类别")
|
private Long devtype;
|
|
/** 设备名称 */
|
@Excel(name = "设备名称")
|
private String equipmentname;
|
|
/** 设备型号 */
|
@Excel(name = "设备型号")
|
private String modnum;
|
|
/** 投运日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "投运日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date touyundate;
|
|
/** 购入日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "购入日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date gourudate;
|
|
/** 制造单位 */
|
@Excel(name = "制造单位")
|
private String produce;
|
|
/** 数量 */
|
@Excel(name = "数量")
|
private Long quantity;
|
|
/** 计量单位 */
|
@Excel(name = "计量单位")
|
private String unit;
|
|
/** 使用部门 */
|
@Excel(name = "使用部门")
|
private String useDept;
|
|
/** 安装地点 */
|
@Excel(name = "安装地点")
|
private String storePlace;
|
|
/** 技术数据 */
|
@Excel(name = "技术数据")
|
private String technData;
|
|
/** 状态id */
|
@Excel(name = "状态id")
|
private Long statusid;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setDevtype(Long devtype)
|
{
|
this.devtype = devtype;
|
}
|
|
public Long getDevtype()
|
{
|
return devtype;
|
}
|
public void setEquipmentname(String equipmentname)
|
{
|
this.equipmentname = equipmentname;
|
}
|
|
public String getEquipmentname()
|
{
|
return equipmentname;
|
}
|
public void setModnum(String modnum)
|
{
|
this.modnum = modnum;
|
}
|
|
public String getModnum()
|
{
|
return modnum;
|
}
|
public void setTouyundate(Date touyundate)
|
{
|
this.touyundate = touyundate;
|
}
|
|
public Date getTouyundate()
|
{
|
return touyundate;
|
}
|
public void setGourudate(Date gourudate)
|
{
|
this.gourudate = gourudate;
|
}
|
|
public Date getGourudate()
|
{
|
return gourudate;
|
}
|
public void setProduce(String produce)
|
{
|
this.produce = produce;
|
}
|
|
public String getProduce()
|
{
|
return produce;
|
}
|
public void setQuantity(Long quantity)
|
{
|
this.quantity = quantity;
|
}
|
|
public Long getQuantity()
|
{
|
return quantity;
|
}
|
public void setUnit(String unit)
|
{
|
this.unit = unit;
|
}
|
|
public String getUnit()
|
{
|
return unit;
|
}
|
public void setUseDept(String useDept)
|
{
|
this.useDept = useDept;
|
}
|
|
public String getUseDept()
|
{
|
return useDept;
|
}
|
public void setStorePlace(String storePlace)
|
{
|
this.storePlace = storePlace;
|
}
|
|
public String getStorePlace()
|
{
|
return storePlace;
|
}
|
public void setTechnData(String technData)
|
{
|
this.technData = technData;
|
}
|
|
public String getTechnData()
|
{
|
return technData;
|
}
|
public void setStatusid(Long statusid)
|
{
|
this.statusid = statusid;
|
}
|
|
public Long getStatusid()
|
{
|
return statusid;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("devtype", getDevtype())
|
.append("equipmentname", getEquipmentname())
|
.append("modnum", getModnum())
|
.append("touyundate", getTouyundate())
|
.append("gourudate", getGourudate())
|
.append("produce", getProduce())
|
.append("quantity", getQuantity())
|
.append("unit", getUnit())
|
.append("useDept", getUseDept())
|
.append("storePlace", getStorePlace())
|
.append("technData", getTechnData())
|
.append("remark", getRemark())
|
.append("statusid", getStatusid())
|
.toString();
|
}
|
}
|