package cn.iocoder.yudao.module.pms.controller.admin.qhse.measure.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 计量器具-使用记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotMeasureRecordPageReqVO extends PageParam {

    @Schema(description = "计量器具id", example = "12097")
    private Long measureId;

    @Schema(description = "使用日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] useDate;

    @Schema(description = "使用原因", example = "不好")
    private String useReason;

    @Schema(description = "计量项目")
    private String measureProject;

    @Schema(description = "使用人")
    private String usePerson;

    @Schema(description = "使用人id", example = "21338")
    private Long userId;

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

    @Schema(description = "部门id", example = "31709")
    private Long deptId;

}