package cn.lihongjie.coal.warehouseGoods.dto;

import cn.lihongjie.coal.base.dto.OrgCommonDto;

import jakarta.persistence.ManyToOne;

import lombok.Data;

import org.hibernate.annotations.Comment;

@Data
public class UpdateWarehouseGoodsDto extends OrgCommonDto {

    @ManyToOne
    private String category;

    @ManyToOne
    private String brand;


    @ManyToOne
    private String unit;



    @ManyToOne
    private String defaultWarehouse;

    @ManyToOne
    private String defaultShelve;




    @Comment("条码")
    private String barCode;

    @Comment("规格")
    private String spec;


    @Comment("型号")

    private String model;


    @Comment("重量 kg")
    private Double weight;

    @Comment("体积 m3")
    private Double volume;

    @Comment("尺寸")
    private String size;

    @Comment("进货价")
    private Double price1;
    @Comment("市场价")
    private Double price2;
    @Comment("仓库核算价")
    private Double price3;

    @Comment("批发价")
    private Double price4;
    private Double price5;

    @Comment("是否启用保质期")

    private Boolean enableShelfLife;


    @Comment("保质期 天")
    private Integer shelfLife;


    @Comment("生产厂家")
    private String manufacturer;
    private String defaultSupplier;

}
