package cn.lihongjie.coal.inventoryCheckDetail.dto;

import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.coalInfo.dto.CoalInfoDto;
import cn.lihongjie.coal.common.DictCode;
import cn.lihongjie.coal.inventoryCheck.dto.InventoryCheckDto;
import cn.lihongjie.coal.pojoProcessor.DictTranslate;
import cn.lihongjie.coal.product.dto.ProductDto;

import jakarta.persistence.ManyToOne;

import lombok.Data;

import org.hibernate.annotations.Comment;

@Data
public class InventoryCheckDetailDto extends OrgCommonDto {


    @ManyToOne
    private InventoryCheckDto inventoryCheck;

    @Comment("盘点类型")
    private String checkType;


    @Comment("盘点类型-名称")
    @DictTranslate(dictKey = DictCode.INVENTORYCHECK_TYPE)
    private String checkTypeName;

    @ManyToOne
    private CoalInfoDto coalInfo;



    @ManyToOne
    private ProductDto product;



    private Double amount;
    
}
