123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- package com.ruoyi.project.configuration.domain;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.ruoyi.framework.aspectj.lang.annotation.Excel;
- import com.ruoyi.framework.web.domain.BaseEntity;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- /**
- * 设备管理对象 t_device
- *
- * @author ruoyi
- * @date 2021-12-23
- */
- public class TDevice extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 唯一标识ID */
- private Long id;
- /** 装置 */
- @Excel(name = "装置")
- private String plantCode;
- /** 设备名称 */
- @Excel(name = "设备名称")
- private String devName;
- /** 区域 */
- @Excel(name = "区域")
- private String area;
- /** 删除状态 */
- private Long delFlag;
- /** 创建人 */
- @Excel(name = "创建人")
- private String createrCode;
- /** 创建时间 */
- @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
- @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
- private Date createdate;
- /** 修改人 */
- @Excel(name = "修改人")
- private String updaterCode;
- /** 修改时间 */
- @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
- @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
- private Date updatedate;
- /** 备注 */
- @Excel(name = "备注")
- private String remarks;
- /** 部门编号 */
- private Long deptId;
- @Excel(name = "归属部门")
- private String deptName;
- public void setId(Long id)
- {
- this.id = id;
- }
- public Long getId()
- {
- return id;
- }
- public void setPlantCode(String plantCode)
- {
- this.plantCode = plantCode;
- }
- public String getPlantCode()
- {
- return plantCode;
- }
- public void setDevName(String devName)
- {
- this.devName = devName;
- }
- public String getDevName()
- {
- return devName;
- }
- public void setArea(String area)
- {
- this.area = area;
- }
- public String getArea()
- {
- return area;
- }
- public void setDelFlag(Long delFlag)
- {
- this.delFlag = delFlag;
- }
- public Long getDelFlag()
- {
- return delFlag;
- }
- public void setCreaterCode(String createrCode)
- {
- this.createrCode = createrCode;
- }
- public String getCreaterCode()
- {
- return createrCode;
- }
- public void setCreatedate(Date createdate)
- {
- this.createdate = createdate;
- }
- public Date getCreatedate()
- {
- return createdate;
- }
- public void setUpdaterCode(String updaterCode)
- {
- this.updaterCode = updaterCode;
- }
- public String getUpdaterCode()
- {
- return updaterCode;
- }
- public void setUpdatedate(Date updatedate)
- {
- this.updatedate = updatedate;
- }
- public Date getUpdatedate()
- {
- return updatedate;
- }
- public void setRemarks(String remarks)
- {
- this.remarks = remarks;
- }
- public String getRemarks()
- {
- return remarks;
- }
- public void setDeptId(Long deptId)
- {
- this.deptId = deptId;
- }
- public Long getDeptId()
- {
- return deptId;
- }
- public String getDeptName() { return deptName; }
- public void setDeptName(String deptName) { this.deptName = deptName; }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("plantCode", getPlantCode())
- .append("devName", getDevName())
- .append("area", getArea())
- .append("delFlag", getDelFlag())
- .append("createrCode", getCreaterCode())
- .append("createdate", getCreatedate())
- .append("updaterCode", getUpdaterCode())
- .append("updatedate", getUpdatedate())
- .append("remarks", getRemarks())
- .append("deptId", getDeptId())
- .toString();
- }
- }
|