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 GoodsStandard extends BaseEntity {

    private Long goodsStandardId;

    private String goodsStandardName;

    private Long goodsId;

    private Long deptGoodsCategoryId;

    private BigDecimal goodsPrice;

    @Excel(name = "追加提成额")
    private BigDecimal extMoney;

    @Excel(name = "优惠价")
    private BigDecimal discountPrice;

    @Excel(name = "团购价")
    private BigDecimal groupPrice;

    @Excel(name = "库存")
    private Integer goodsNum;

    private String goodsUnit;

    private Integer saleNum;

    private Integer status;

    private BigDecimal finalPrice;

    private boolean checked;

    private String goodsCategoryName;

    @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;

    @Excel(name = "平台扣点", cellType = Excel.ColumnType.STRING)
    private String deptRate;

    @Excel(name = "平台固定扣金额", cellType = Excel.ColumnType.STRING)
    private BigDecimal deptMoney;

    @Excel(name = "截留扣点", cellType = Excel.ColumnType.STRING)
    private String retainRate;

    @Excel(name = "截留金额", cellType = Excel.ColumnType.STRING)
    private BigDecimal retainMoney;

    @Excel(name = "图片地址")
    private String imageUrl;

}
