package cn.iocoder.yudao.module.custom.vo;

import lombok.*;
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;
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 CarMainReqVO extends PageParam {
    @Schema(description = "主键ID")
    private String id;

    @Schema(description = "发动机号码")
    private String engineNumber;

    @Schema(description = "车架号")
    private String vin;

    @Schema(description = "车牌号")
    private String licenseNumber;

    @Schema(description = "车辆型号")
    private String carModel;

    @Schema(description = "保养日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime maintenanceDate;

    @Schema(description = "保养里程")
    private String maintenanceMileage;

    @Schema(description = "年检日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime inspectionDate;

    @Schema(description = "保险日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime insuranceDate;

    @Schema(description = "二级维护时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime checkDate;

    @Schema(description = "车辆品牌")
    private String carBrand;

    @Schema(description = "车辆性质：营运 非营运等")
    private String carNature;

    @Schema(description = "车辆类别：私家车 货车 教练车 公务车 出租车")
    private String carCategory;

    @Schema(description = "车辆注册日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime carRegisterDate;

    @Schema(description = "行驶证图片")
    private String carLicenseImg;

    @Schema(description = "最近办理业务")
    private String recentlyHandledBusiness;

    @Schema(description = "最近办理业务的时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime recentlyHandleBusinessTime;

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

    @Schema(description = "租户ID")
    private String tenantId;

    

}