package com.newfiber.api.pc.model.entity; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; /** * @description: 车辆管理实体类 * @author: 张鸿志 * @date: 2021/2/2 10:03 * @version: v1.0 */ @Data @TableName("car_manager") @ApiModel("车辆管理实体类") public class CarManager implements Serializable { @TableId(value = "car_id",type = IdType.AUTO) private Integer carId; @ApiModelProperty("车牌号") @TableField("plate_number") private String plateNumber; @ApiModelProperty("车辆类别,比如运输车,洒水车,铲车等等") @TableField("car_type") private String carType; @ApiModelProperty("车子容量(1,小。2,中。3,大)") @TableField("transportation_capability") private Integer transportationCapability; @TableField("car_brand") @ApiModelProperty("车辆型号") private String carBrand; @TableField("is_leisure") @ApiModelProperty("是否空闲") private Integer isLeisure; }