package com.cmvr.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cmvr.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("车机操作配置")
public class SysVehOperConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("配置ID")
    @TableId(type = IdType.AUTO)
    private Long configId;

    @NotEmpty(message = "厂商不能为空")
    @ApiModelProperty("厂商")
    private String manufacturer;

    @NotEmpty(message = "车型不能为空")
    @ApiModelProperty("车型")
    private String vehType;

    @NotEmpty(message = "json文件数据能为空")
    @ApiModelProperty("json文件数据")
    private String jsonData;
}
