package com.aucma.base.domain;

import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aucma.common.annotation.Excel;
import com.aucma.common.core.domain.BaseEntity;

/**
 * 设备工艺参数当前值对象 base_device_param_val
 *
 * @author zch
 * @date 2025-10-15
 */
public class BaseDeviceParamVal extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String recordId;

    /** 参数编号 */
            @Excel(name = "参数编号")
    private String paramCode;

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

    /** 设备ID */
            @Excel(name = "设备ID")
    private Long deviceId;

    /** 参数名称 */
            @Excel(name = "参数名称")
    private String paramName;

    /** 参数值 */
            @Excel(name = "参数值")
    private String paramValue;

    /** 采集时间 */
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date collectTime;

    /** 记录时间（默认当前时间） */
            @Excel(name = "记录时间", readConverterExp = "默=认当前时间")
    private Date recordTime;

    /** 查询开始时间（仅查询用） */
    private Date beginTime;

    /** 查询结束时间（仅查询用） */
    private Date endTime;

    /** 查询涉及的月分表后缀（仅查询用） */
    private List<String> tableSuffixes;

    public void setRecordId(String recordId)
            {
            this.recordId = recordId;
            }

    public String getRecordId()
            {
            return recordId;
            }
    public void setParamCode(String paramCode)
            {
            this.paramCode = paramCode;
            }

    public String getParamCode()
            {
            return paramCode;
            }
    public void setDeviceCode(String deviceCode)
            {
            this.deviceCode = deviceCode;
            }

    public String getDeviceCode()
            {
            return deviceCode;
            }
    public void setDeviceId(Long deviceId)
            {
            this.deviceId = deviceId;
            }

    public Long getDeviceId()
            {
            return deviceId;
            }
    public void setParamName(String paramName)
            {
            this.paramName = paramName;
            }

    public String getParamName()
            {
            return paramName;
            }
    public void setParamValue(String paramValue)
            {
            this.paramValue = paramValue;
            }

    public String getParamValue()
            {
            return paramValue;
            }
    public void setCollectTime(Date collectTime)
            {
            this.collectTime = collectTime;
            }

    public Date getCollectTime()
            {
            return collectTime;
            }
    public void setRecordTime(Date recordTime)
            {
            this.recordTime = recordTime;
            }

    public Date getRecordTime()
            {
            return recordTime;
            }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public List<String> getTableSuffixes() {
        return tableSuffixes;
    }

    public void setTableSuffixes(List<String> tableSuffixes) {
        this.tableSuffixes = tableSuffixes;
    }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId",getRecordId())
            .append("paramCode",getParamCode())
            .append("deviceCode",getDeviceCode())
            .append("deviceId",getDeviceId())
            .append("paramName",getParamName())
            .append("paramValue",getParamValue())
            .append("collectTime",getCollectTime())
            .append("recordTime",getRecordTime())
            .append("beginTime",getBeginTime())
            .append("endTime",getEndTime())
            .append("tableSuffixes", getTableSuffixes())
        .toString();
        }
        }
