package com.ghy.goods.domain;


import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品类别表
 *
 * @author clunt
 */
@Data
public class GoodsCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    @Excel(name = "类别编码", cellType = Excel.ColumnType.STRING)
    private String goodsCategoryCode;

    @Excel(name = "类别名称", cellType = Excel.ColumnType.STRING)
    private String goodsCategoryName;

    @Excel(name = "父级编码", cellType = Excel.ColumnType.STRING)
    private Long parentCategoryId;

    @Excel(name = "排序", cellType = Excel.ColumnType.STRING)
    private String categorySort;

    @Excel(name = "级别 1级目录 2级目录", cellType = Excel.ColumnType.STRING)
    private Integer level;

    @Excel(name = "类别类型. 1.服务类 2.商品类", cellType = Excel.ColumnType.STRING)
    private Integer type;

    @Excel(name = "状态")
    private Integer status;

    /**
     *  保险状态 01.启用 02.禁用
     * */
    private String insuranceStatus;

    private String insuranceUrl;

    private BigDecimal insuranceAmount = BigDecimal.ZERO;

    private String insuranceIds;

}
