package com.xindazhou.vehicle.api.dto.bind;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 车辆绑定 Response DTO
 *
 * @author xindazhou
 */
@Schema(description = "RPC 服务 - 车辆绑定 Response DTO")
@Data
public class VehicleBindRespDTO {

    @Schema(description = "绑定关系编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "车辆编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long vehicleId;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long userId;

    @Schema(description = "用户类型", example = "1")
    private Integer userType;

    @Schema(description = "绑定类型", example = "OWNER")
    private String bindType;

    @Schema(description = "备注", example = "主车辆")
    private String remark;

    @Schema(description = "绑定时间")
    private LocalDateTime bindTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}

