package com.xiaoniu.system.usedcar.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/10/30 9:53
 */
@Data
@Schema(description = "二手车详情响应参数VO")
public class UsedCarDetailsVO {

    @Schema(description = "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 = "服务状态（1-待处理 2-已处理）")
    private Integer serviceStatus;

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

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

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

    @Schema(description = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date processingTime;

    @Schema(description = "创建",hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
