package com.xiaoniu.system.insurancerescue.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
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-18 05:03:00
 */
@Getter
@Setter
@TableName("tb_insurance_rescue")
@Schema(name = "TbInsuranceRescue", description = "保险救援信息表")
public class TbInsuranceRescue implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "用户姓名")
    private String userName;

    @Schema(description = "服务类型id")
    private Long serviceTypeId;

    @Schema(description = "服务类型名称")
    private String serviceTypeName;

    @Schema(description = "用户电话号码")
    private String phoneNumber;

    @Schema(description = "车辆信息")
    private String vehicleInformation;

    @Schema(description = "车辆年限")
    private String vehicleAge;

    @Schema(description = "省")
    private String province;

    @Schema(description = "市")
    private String city;

    @Schema(description = "区")
    private String area;

    @Schema(description = "区域code")
    private String areaCode;

    @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 = "备注")
    private String remark;

    @Schema(description = "服务状态（1-待处理 2-已处理）")
    private Integer serviceStatus;

    @Schema(description = "服务单号")
    private String serviceOrderNumber;

    @Schema(description = "经度")
    private String lon;

    @Schema(description = "纬度")
    private String lat;

    @Schema(description = "处理时间")
    private Date processingTime;
}
