package com.ghy.goods.domain;

import com.ghy.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author clunt
 * 分公司使用类目
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DeptGoodsCategory extends GoodsCategory {

    @Excel(name = "序列", cellType = Excel.ColumnType.NUMERIC)
    private Long deptGoodsCategoryId;

    @Excel(name = "分公司id", cellType = Excel.ColumnType.NUMERIC)
    private Long deptId;

    @Excel(name = "一级分销扣点比例", cellType = Excel.ColumnType.STRING)
    private String oneRate;

    @Excel(name = "二级分销扣点比例", cellType = Excel.ColumnType.STRING)
    private String twoRate;

    @Excel(name = "三级分销扣点比例", cellType = Excel.ColumnType.STRING)
    private String threeRate;

    private Long parentCategoryId;

    private List<DeptGoodsCategory> child;

}
