package com.xindazhou.vehicle.dal.dataobject.theft;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xindazhou.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 失窃监控 DO
 *
 * @author xindazhou
 */
@TableName(value = "vehicle_theft", autoResultMap = true)
@KeySequence("vehicle_theft_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VehicleTheftDO extends BaseDO {

    /**
     * ID
     */
    @TableId
    private Long id;

    /**
     * 车架号
     */
    private String vin;

    /**
     * 分类
     */
    private String category;

    /**
     * 车型号
     */
    private String model;

    /**
     * 车主姓名
     */
    private String ownerName;

    /**
     * 手机号
     */
    private String ownerMobile;

    /**
     * 失窃上报时间
     */
    private LocalDateTime theftReportTime;

    /**
     * 车辆ID
     */
    private Long vehicleId;

}
