package com.zcloud.primeport.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * web-client
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:23
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VehicleApplyInspectAddCmd extends Command {
    @ApiModelProperty(value = "名称", name = "remarks")
//    @NotEmpty(message = "名称")
    private String remarks;
    @ApiModelProperty(value = "检查部门名称", name = "checkDepartmentName")
    @NotEmpty(message = "检查部门名称")
    private String checkDepartmentName;
    @ApiModelProperty(value = "车辆所属类型 1-股份员工车辆，2-股份单位车辆，3-分公司员工车辆，4-分公司单位车辆 ，5-相关方车辆， 6:临时车辆，7检查部门车辆", name = "vehicleBelongType", required = true)
    @NotEmpty(message = "车辆所属类型 1-股份员工车辆，2-股份单位车辆，3-分公司员工车辆，4-分公司单位车辆 ，5-相关方车辆， 6:临时车辆，7检查部门车辆不能为空")
    private String vehicleBelongType;
    @ApiModelProperty(value = "车辆信息", name = "inspectCarList")
    private List<InspectCar> inspectCarList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class InspectCar {
        @ApiModelProperty(value = "车牌类型数据字典", name = "licenceType", required = true)
        private String licenceType;
        @ApiModelProperty(value = "车牌类型名称0-白牌  1- 蓝牌   2-黄牌  3-绿牌   4-黑牌", name = "licenceTypeName", required = true)
        private String licenceTypeName;
        @ApiModelProperty(value = "车辆类型", name = "vehicleType", required = true)
        private String vehicleType;
        @ApiModelProperty(value = "车辆类型-名字", name = "vehicleTypeName", required = true)
        private String vehicleTypeName;
        @ApiModelProperty(value = "车牌号", name = "licenceNo", required = true)
        private String licenceNo;
        @ApiModelProperty(value = "访问开始时间", name = "visitStartTime", required = true)
        private String visitStartTime;
        @ApiModelProperty(value = "访问结束时间", name = "visitEndTime", required = true)
        private String visitEndTime;
    }

}

