package com.bonus.canteen.core.supply.domain;

import java.math.BigDecimal;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 计量单位对象 supply_product_unit
 * 
 * @author xsheng
 * @date 2025-05-25
 */


@Data
@ToString
public class SupplyProductUnit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 计量单位id */
    private Long unitId;

    /** 计量单位名称 */
    @Excel(name = "计量单位名称")
    @ApiModelProperty(value = "计量单位名称")
    private String unitName;

    /** 换算比率(换算成g) */
    @Excel(name = "换算比率(换算成g)")
    @ApiModelProperty(value = "换算比率(换算成g)")
    private BigDecimal rate;

    /** 单位类型(1-按份,2-称重) */
    @Excel(name = "单位类型(1-按份,2-称重)")
    @ApiModelProperty(value = "单位类型(1-按份,2-称重)")
    private Integer weighType;
}
