package com.aucma.production.domain;

import com.aucma.common.annotation.Excel;
import com.aucma.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 安灯看板配置对象 andon_board_config
 *
 * @author Yinq
 * @date 2025-10-28
 */
public class AndonBoardConfig extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 主键ID */
    private Long boardId;

    /** 看板编码 */
            @Excel(name = "看板编码")
    private String boardCode;

    /** 看板名称 */
            @Excel(name = "看板名称")
    private String boardName;

    /** 产品线编码 */
            @Excel(name = "产品线编码")
    private String productLineCode;

    /** 工位/工序编码（作用域） */
            @Excel(name = "工位/工序编码", readConverterExp = "作=用域")
    private String stationCode;

    /** 看板展示字段配置（JSON） */
            @Excel(name = "看板展示字段配置", readConverterExp = "J=SON")
    private String displayFields;

    /** 刷新间隔（秒） */
            @Excel(name = "刷新间隔", readConverterExp = "秒=")
    private Long refreshIntervalSec;

    /** 是否有效（1有效/0无效） */
            @Excel(name = "是否有效", readConverterExp = "1=有效/0无效")
    private String isFlag;

    public void setBoardId(Long boardId)
            {
            this.boardId = boardId;
            }

    public Long getBoardId()
            {
            return boardId;
            }
    public void setBoardCode(String boardCode)
            {
            this.boardCode = boardCode;
            }

    public String getBoardCode()
            {
            return boardCode;
            }
    public void setBoardName(String boardName)
            {
            this.boardName = boardName;
            }

    public String getBoardName()
            {
            return boardName;
            }
    public void setProductLineCode(String productLineCode)
            {
            this.productLineCode = productLineCode;
            }

    public String getProductLineCode()
            {
            return productLineCode;
            }
    public void setStationCode(String stationCode)
            {
            this.stationCode = stationCode;
            }

    public String getStationCode()
            {
            return stationCode;
            }
    public void setDisplayFields(String displayFields)
            {
            this.displayFields = displayFields;
            }

    public String getDisplayFields()
            {
            return displayFields;
            }
    public void setRefreshIntervalSec(Long refreshIntervalSec)
            {
            this.refreshIntervalSec = refreshIntervalSec;
            }

    public Long getRefreshIntervalSec()
            {
            return refreshIntervalSec;
            }
    public void setIsFlag(String isFlag)
            {
            this.isFlag = isFlag;
            }

    public String getIsFlag()
            {
            return isFlag;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("boardId",getBoardId())
            .append("boardCode",getBoardCode())
            .append("boardName",getBoardName())
            .append("productLineCode",getProductLineCode())
            .append("stationCode",getStationCode())
            .append("displayFields",getDisplayFields())
            .append("refreshIntervalSec",getRefreshIntervalSec())
            .append("isFlag",getIsFlag())
            .append("remark",getRemark())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
        .toString();
        }
        }
