package com.zt.plat.module.qms.resource.material.controller.vo;

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 物料用完标记或清洗回收分页 Request VO")
@Data
public class MaterialUseEndReusePageReqVO extends PageParam {

    @Schema(description = "物料分类或大类id")
    private Long productId;

    @Schema(description = "业务类型,用完标记，清洗回收", example = "1")
    private String businessType;

    @Schema(description = "用完标记人或清洗回收人")
    private String operator;

    @Schema(description = "操作人id", example = "6934")
    private Long operatorId;

    @Schema(description = "标记日期或清洗回收日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operatorDate;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}