package com.ningdatech.carapi.analysis.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 车辆出险情况修改参数
 * </p>
 *
 * @author WendyYang
 * @since 2022-10-15
 */
@Data
@ApiModel("车辆出险情况修改参数")
public class VehicleAccidentEvalModReq {

    @ApiModelProperty("主键")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty("车牌号")
    @NotBlank(message = "车牌号不能为空")
    private String carNo;

    @ApiModelProperty("累计违章次数")
    @NotNull(message = "累计违章次数不能为空")
    private Integer accidentCount;

    @ApiModelProperty("万公里出险次数")
    @NotNull(message = "万公里出险次数不能为空")
    private Integer avgAccidentCount;

    @ApiModelProperty("备注")
    private String remark;

}
