package cn.iocoder.yudao.module.system.controller.admin.devicewarn.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 DeviceWarnPageReqVO extends PageParam {

    @Schema(description = "设备安卓码")
    private String deviceSn;

    @Schema(description = "设备名", example = "王五")
    private String deviceName;

    @Schema(description = "门店id", example = "26723")
    private Long storeId;

    @Schema(description = "报警前重量")
    private BigDecimal beforeWeight;

    @Schema(description = "报警后重量")
    private BigDecimal afterWeight;

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

}