package cn.iocoder.yudao.module.mes.controller.admin.feedingrecord.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 投料记录明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FeedingRecordDetailRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2941")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "记录id", example = "5186")
    @ExcelProperty("记录id")
    private Long recordId;
    @Schema(description = "记录", example = "997")
    @ExcelProperty("记录")
    private String recordCode;

//    @Schema(description = "原料id", example = "19133")
//    private Long itemId;
//    @Schema(description = "原料", example = "19133")
//    @ExcelProperty("原料")
//    private String itemName;

        @Schema(description = "物料id", example = "19133")
        private Long productId;
       @Schema(description = "物料", example = "19133")
    @ExcelProperty("原料")
    private String productName;

    @Schema(description = "重量")
    @ExcelProperty("重量")
    private BigDecimal weight;

    @Schema(description = "单位", example = "8197")
    @ExcelProperty("单位")
    private Long unitId;
    @Schema(description = "单位", example = "27598")
    @ExcelProperty("单位")
    private String unitName;

    @Schema(description = "记录人", example = "14853")
    @ExcelProperty("记录人")
    private Long userId;
    @Schema(description = "记录人", example = "14853")
    @ExcelProperty("记录人")
    private String userName;

    @Schema(description = "投料时间")
    @ExcelProperty("投料时间")
    private LocalDateTime feedingTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}