Region.java 2.12 KB
package com.ruoyi.service.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;


/**
 * 库房-分区 sys_job
 * 
 * @author ym
 */
public class Region extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 库主键 */
    private Long parentId;

    /** 分区编号 */
    @Excel(name = "分区编号", cellType = ColumnType.NUMERIC)
    private int regionNo;

    /** 分区名称 */
    @Excel(name = "分区名称", cellType = ColumnType.STRING)
    private String regionName;

    /** 密集架数量 */
    @Excel(name = "密集架数量", cellType = ColumnType.NUMERIC)
    private int columnSize;

    /** 分区描述 */
    @Excel(name = "分区描述", cellType = ColumnType.STRING)
    private String mark;

    /** 子列 */
    private List<Column> columns;

    private String name;

    public Long getId() {
        return id;
    }

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

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public int getRegionNo() {
        return regionNo;
    }

    public void setRegionNo(int regionNo) {
        this.regionNo = regionNo;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public int getColumnSize() {
        return columnSize;
    }

    public void setColumnSize(int columnSize) {
        this.columnSize = columnSize;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public List<Column> getColumns() {
        return columns;
    }

    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    public String getName() {
        return name=regionName;
    }

    public void setName(String name) {
        this.name = regionName;
    }
}