package cn.iocoder.yudao.module.asset.controller.admin.parking.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.time.LocalDateTime;

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

/**
 * 停车场 - 分页查询 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 停车场分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ParkingPageReqVO extends PageParam {

    @Schema(description = "停车场名称", example = "张江停车场")
    private String name;

    @Schema(description = "地址", example = "上海市浦东新区")
    private String address;

    @Schema(description = "省份", example = "浙江省")
    private String province;

    @Schema(description = "城市", example = "嘉兴市")
    private String city;

    @Schema(description = "负责人", example = "张三")
    private String managerName;

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

}
