package com.zehong.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.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_dev_life_cycle
 * 
 * @author zehong
 * @date 2023-12-12
 */
public class TDevLifeCycle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备类型 */
    @Excel(name = "设备类型" ,dictType = "cytle_dev_type")
    private String devType;

    public String getJianxiu() {
        return jianxiu;
    }

    public void setJianxiu(String jianxiu) {
        this.jianxiu = jianxiu;
    }

    private String jianxiu;

    public String getDevTypeName() {
        return devTypeName;
    }

    public void setDevTypeName(String devTypeName) {
        this.devTypeName = devTypeName;
    }

    private String devTypeName;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String devNo;

    /** 设备位置 */
    @Excel(name = "安装位置")
    private String devAddr;

    /** 设备描述 */
    @Excel(name = "设备描述")
    private String devDescribe;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String devModel;

    /** 公称通径/公称直径/介质/-/- */
    @Excel(name = "公称通径/公称直径/介质/-/-")
    private String devDiameter;

    /** 计量范围/-/精准度/-/流量范围 */
    @Excel(name = "计量范围/-/精准度/-/流量范围")
    private String devFlowRange;

    /** 精度等级/压力等级/防护等级/-/准确度等级 */
    @Excel(name = "精度等级/压力等级/防护等级/-/准确度等级")
    private String devLevel;

    /** 公称压力 */
    @Excel(name = "公称压力")
    private String devPressure;

    /** 连接口方向/整定压力/报警限值/设备类别/工作电源 */
    @Excel(name = "连接口方向/整定压力/报警限值/设备类别/工作电源")
    private String workElectricity;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String devNumber;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date devDate;

    /** "报废日期" */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报废日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date devVoidDate;

    /** 制造单位 */
    @Excel(name = "制造单位")
    private String devCompany;

    /** 设备状态1正常2停用9报废 */
    @Excel(name = "设备状态1正常2停用9报废")
    private String devStatus;

    /** 预警天数 */
    @Excel(name = "预警天数")
    private Long alarmDays;

    /** 启用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投运日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useDate;

    /** 最新检修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最新检修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date currOverhaulDate;

    /** 下次检修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次检修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextOverhaulDate;

    /** 最新保养日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date currMaintenanceDate;

    /** 下次保养日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nextMaintenanceDate;

    private String soutext;


    public Date getDevVoidDate() {
        return devVoidDate;
    }

    public void setDevVoidDate(Date devVoidDate) {
        this.devVoidDate = devVoidDate;
    }

    public String getSoutext() {
        return soutext;
    }

    public void setSoutext(String soutext) {
        this.soutext = soutext;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDevType(String devType) 
    {
        this.devType = devType;
    }

    public String getDevType() 
    {
        return devType;
    }
    public void setDevName(String devName) 
    {
        this.devName = devName;
    }

    public String getDevName() 
    {
        return devName;
    }
    public void setDevNo(String devNo) 
    {
        this.devNo = devNo;
    }

    public String getDevNo() 
    {
        return devNo;
    }
    public void setDevAddr(String devAddr) 
    {
        this.devAddr = devAddr;
    }

    public String getDevAddr() 
    {
        return devAddr;
    }
    public void setDevDescribe(String devDescribe) 
    {
        this.devDescribe = devDescribe;
    }

    public String getDevDescribe() 
    {
        return devDescribe;
    }

    public String getDevCompany() {
        return devCompany;
    }

    public void setDevCompany(String devCompany) {
        this.devCompany = devCompany;
    }


    public String getDevModel() {
        return devModel;
    }

    public void setDevModel(String devModel) {
        this.devModel = devModel;
    }

    public String getDevDiameter() {
        return devDiameter;
    }

    public void setDevDiameter(String devDiameter) {
        this.devDiameter = devDiameter;
    }

    public String getDevFlowRange() {
        return devFlowRange;
    }

    public void setDevFlowRange(String devFlowRange) {
        this.devFlowRange = devFlowRange;
    }

    public String getDevLevel() {
        return devLevel;
    }

    public void setDevLevel(String devLevel) {
        this.devLevel = devLevel;
    }

    public String getDevPressure() {
        return devPressure;
    }

    public void setDevPressure(String devPressure) {
        this.devPressure = devPressure;
    }

    public String getWorkElectricity() {
        return workElectricity;
    }

    public void setWorkElectricity(String workElectricity) {
        this.workElectricity = workElectricity;
    }

    public String getDevNumber() {
        return devNumber;
    }

    public void setDevNumber(String devNumber) {
        this.devNumber = devNumber;
    }

    public Date getDevDate() {
        return devDate;
    }

    public void setDevDate(Date devDate) {
        this.devDate = devDate;
    }

    public void setDevStatus(String devStatus)
    {
        this.devStatus = devStatus;
    }

    public String getDevStatus()
    {
        return devStatus;
    }
    public void setAlarmDays(Long alarmDays) 
    {
        this.alarmDays = alarmDays;
    }

    public Long getAlarmDays() 
    {
        return alarmDays;
    }
    public void setUseDate(Date useDate) 
    {
        this.useDate = useDate;
    }

    public Date getUseDate() 
    {
        return useDate;
    }
    public void setCurrOverhaulDate(Date currOverhaulDate) 
    {
        this.currOverhaulDate = currOverhaulDate;
    }

    public Date getCurrOverhaulDate() 
    {
        return currOverhaulDate;
    }
    public void setNextOverhaulDate(Date nextOverhaulDate) 
    {
        this.nextOverhaulDate = nextOverhaulDate;
    }

    public Date getNextOverhaulDate() 
    {
        return nextOverhaulDate;
    }
    public void setCurrMaintenanceDate(Date currMaintenanceDate) 
    {
        this.currMaintenanceDate = currMaintenanceDate;
    }

    public Date getCurrMaintenanceDate() 
    {
        return currMaintenanceDate;
    }
    public void setNextMaintenanceDate(Date nextMaintenanceDate) 
    {
        this.nextMaintenanceDate = nextMaintenanceDate;
    }

    public Date getNextMaintenanceDate() 
    {
        return nextMaintenanceDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("devType", getDevType())
            .append("devName", getDevName())
            .append("devNo", getDevNo())
            .append("devAddr", getDevAddr())
            .append("devDescribe", getDevDescribe())
            .append("devStatus", getDevStatus())
            .append("alarmDays", getAlarmDays())
            .append("useDate", getUseDate())
            .append("currOverhaulDate", getCurrOverhaulDate())
            .append("nextOverhaulDate", getNextOverhaulDate())
            .append("currMaintenanceDate", getCurrMaintenanceDate())
            .append("nextMaintenanceDate", getNextMaintenanceDate())
            .append("createTime", getCreateTime())
            .toString();
    }
}
