package com.shinsoft.sto.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shinsoft.generator.model.BaseModel;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * <p>
 * 库房配置表
 * </p>
 *
 * @author system
 * @since 2024-10-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("STO_CONFIG")
@ApiModel(value = "Config对象", description = "库房配置表")
public class Config extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公司代码")
    private String compCd;

    @ApiModelProperty("部门代码")
    private String deptCd;

    @ApiModelProperty("库房代码（公司代码+类型+编号)")
    private String storeCd;

    @ApiModelProperty("库房名称")
    private String storeNm;

    @ApiModelProperty("区号")
    private String areaCd;

    @ApiModelProperty("垛位号")
    private String stackCd;

    @ApiModelProperty("库房类型（原料库，中间库，成品库，备件库，贸易库，租赁库，其他库）")
    private String storeType;

    @ApiModelProperty("激活状态（1-激活，0-未激活）")
    private String activeStatus;

    @ApiModelProperty("备注")
    private String remarks;

    private String attr1;

    private String attr2;

    private String attr3;

    private String attr4;

    private String attr5;

    private String attr6;

    private String attr7;

    private String attr8;

    private String attr9;

    private String attr10;

    @ApiModelProperty("父级ID")
    private String fId;
    @TableField(exist = false)
    private String id1;
    @TableField(exist = false)
    private String id2;
    @TableField(exist = false)
    private String id3;
    private String stoConfigLevel;
}
