package com.zg.project.information.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zg.framework.aspectj.lang.annotation.Excel;
import com.zg.framework.web.domain.BaseEntity;

/**
 * 场景编号对象 scene_mapping
 *
 * @author zg
 * @date 2025-05-24
 */
public class SceneMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 场景编号 */
    @Excel(name = "场景编号")
    private String sceneCode;

    /** 场景名称 */
    @Excel(name = "场景名称")
    private String sceneName;

    /** 所属仓库编码 */
    @Excel(name = "所属仓库编码")
    private String warehouseCode;

    /** 所属仓库名称（查询时通过关联 warehouse_info 返回） */
    @Excel(name = "所属仓库名称")
    private String warehouseName;

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

    public Long getId()
    {
        return id;
    }

    public void setSceneCode(String sceneCode)
    {
        this.sceneCode = sceneCode;
    }

    public String getSceneCode()
    {
        return sceneCode;
    }

    public void setSceneName(String sceneName)
    {
        this.sceneName = sceneName;
    }

    public String getSceneName()
    {
        return sceneName;
    }

    public void setWarehouseCode(String warehouseCode)
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode()
    {
        return warehouseCode;
    }

    public void setWarehouseName(String warehouseName)
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName()
    {
        return warehouseName;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sceneCode", getSceneCode())
                .append("sceneName", getSceneName())
                .append("warehouseCode", getWarehouseCode())
                .append("warehouseName", getWarehouseName())
                .toString();
    }
}
