package com.yeejoin.amos.boot.module.hygf.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 发货单bom
 *
 * @author system_generator
 * @date 2023-08-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("hygf_document_bom")
public class DocumentBom extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 物料编码
     */
	@TableField("material_num")
    private String materialNum;

    /**
     * 物料名称
     */
	@TableField("material_name")
    private String materialName;

    /**
     * 物料类型
     */
	@TableField("material_type")
    private String materialType;

    /**
     * 物料组
     */
	@TableField("material_group")
    private String materialGroup;

    /**
     *  需求数量
     */
	@TableField("demand_number")
    private Integer demandNumber;

    /**
     * 单价
     */
	@TableField("unit_price")
    private Double unitPrice;

    /**
     *  折扣后价格
     */
	@TableField("discount_unit_price")
    private Double discountUnitPrice;

    /**
     * 折扣总额
     */
	@TableField("discount_total")
    private Double discountTotal;

    /**
     * 功率
     */
	@TableField("power")
    private Double power;

    /**
     * 货单id
     */
	@TableField("preparation_money_id")
    private Long preparationMoneyId;

}
