package com.xindazhou.vehicle.controller.admin.vehicle.vo;

import com.xindazhou.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.time.LocalDateTime;

import static com.xindazhou.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 车辆授权设置分页查询 Request VO
 *
 * @author xindazhou
 */
@Schema(description = "管理后台 - 车辆授权设置分页查询 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VehicleAuthPageReqVO extends PageParam {

    @Schema(description = "分类", example = "category1")
    private String category;

    @Schema(description = "型号", example = "model1")
    private String model;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] updateTime;

}

