package com.xindazhou.vehicle.controller.admin.vehicle.vo;

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

/**
 * 车辆授权设置保存 Request VO
 *
 * @author xindazhou
 */
@Schema(description = "管理后台 - 车辆授权设置保存 Request VO")
@Data
public class VehicleAuthSaveReqVO {

    @Schema(description = "ID", example = "1")
    private Long id;

    @Schema(description = "车型", example = "model1")
    private String model;

    @Schema(description = "最高人数", example = "5")
    private Integer maxUsers;

    @Schema(description = "可授权权限（逗号分隔）", example = "权限1,权限2")
    private String authorizablePermissions;

    @Schema(description = "临时授权时间(min)", example = "30")
    private Integer tempAuthTime;

    @Schema(description = "临时授权公里数(km)", example = "100")
    private Integer tempAuthMileage;

}
