package cn.iocoder.yudao.module.pms.controller.admin.iotdailyreportfuel.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

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

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 IotDailyReportFuelPageReqVO extends PageParam {

    @Schema(description = "瑞恒RH 瑞鹰RY 瑞都RD", example = "1")
    private String type;

    @Schema(description = "日报id", example = "13065")
    private Long reportId;

    @Schema(description = "设备(车辆)id", example = "887")
    private Long deviceId;

    @Schema(description = "设备编码")
    private String deviceCode;

    @Schema(description = "油服设备编码")
    private String yfDeviceCode;

    @Schema(description = "设备名称", example = "赵六")
    private String deviceName;

    @Schema(description = "zhbd车辆id", example = "23704")
    private String carId;

    @Schema(description = "zhdb油耗(L)")
    private BigDecimal zhbdFuel;

    @Schema(description = "修正后的油耗(L)")
    private BigDecimal customFuel;

    @Schema(description = "获取油耗时的日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] queryDate;

    @Schema(description = "备注", example = "你猜")
    private String remark;

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

    /**
     * 扩展属性
     */
    @Schema(description = "日报id集合", example = "你猜")
    private Collection<Long> reportIds;
}