package com.xiaoniu.system.platformusers.vehicle.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 我的车辆信息表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-15 10:21:02
 */
@Getter
@Setter
@TableName("tb_vehicle_info")
@Schema(name = "TbVehicleInfo", description = "我的车辆信息表")
public class TbVehicleInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "用户id")
    private Long userId;

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

    @Schema(description = "车辆品牌ID")
    private Long vehicleBrandId;

    @Schema(description = "品牌logo")
    private String brandLogo;

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

    @Schema(description = "车辆型号ID")
    private Long vehicleModelId;

    @Schema(description = "车辆配置")
    private String vehicleConfig;

    @Schema(description = "车辆配置Id")
    private Long vehicleConfigId;

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

    @Schema(description = "车辆里程(km)")
    private String vehicleMileage;

    @Schema(description = "启动时刻")
    private Date startTime;

    @Schema(description = "是否默认车辆 1默认 2不是默认")
    private String defaultFlag;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @Schema(description = "创建者")
    private Long createBy;

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private Long updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "车辆类型（1-油车 2-能源车）")
    private Integer carType;

    @Schema(description = "备注")
    private String remark;
}
