Depot.java 1.88 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 Depot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司 */
    @Excel(name = "公司编号", cellType = ColumnType.NUMERIC)
    private int parentId;

    /** 库房编号 */
    @Excel(name = "库房编号", cellType = ColumnType.NUMERIC)
    private int depotNo;

    /** 库房名称 */
    @Excel(name = "库房名称", cellType = ColumnType.STRING)
    private String depotName;



    /** 备注 */
    @Excel(name = "备注", cellType = ColumnType.STRING)
    private String mark;

    /** 子分区 */
    private List<Region> regions;

    private String name;

    public Long getId() {
        return id;
    }

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

    public int getParentId() {
        return parentId;
    }

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

    public String getDepotName() {
        return depotName;
    }

    public void setDepotName(String depotName) {
        this.depotName = depotName;
    }

    public String getMark() {
        return mark;
    }

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

    public List<Region> getRegions() {
        return regions;
    }

    public void setRegions(List<Region> regions) {
        this.regions = regions;
    }

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

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

    public int getDepotNo() {
        return depotNo;
    }

    public void setDepotNo(int depotNo) {
        this.depotNo = depotNo;
    }
}