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

import cn.iocoder.yudao.module.mes.dal.dataobject.feedingrecord.FeedingRecordDetailDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 投料记录新增/修改 Request VO")
@Data
public class FeedingRecordSaveReqVO {

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

    @Schema(description = "单号")
    private String feedingRecordCode;

    @Schema(description = "产品id", example = "9099")
    private Long productId;

    @Schema(description = "计划id", example = "4922")
    private Long planId;

    @Schema(description = "原料id", example = "26352")
    private Long itemId;

    @Schema(description = "制浆线")
    private Long feedingPipeline;

    @Schema(description = "投料类型", example = "2")
    private String feedingType;

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

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

    @Schema(description = "记录人", example = "13784")
    private Long userId;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "状态", example = "1")
    private String recordStatus;

    @Schema(description = "投料记录明细列表")
    private List<FeedingRecordDetailDO> feedingRecordDetails;

}