package cn.iocoder.yudao.module.asset.controller.admin.contract.vo;

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

import java.util.List;

/**
 * 车辆租赁合同详情 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 车辆租赁合同详情 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ContractDetailRespVO extends ContractRespVO {

    @Schema(description = "车辆订单列表")
    private List<ContractVehicleDetailVO> vehicles;

    @Schema(description = "被授权人列表")
    private List<ContractAuthorizedVO> authorizedPersons;

    @Schema(description = "附件列表")
    private List<ContractAttachmentVO> attachments;

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ToString(callSuper = true)
    public static class ContractVehicleDetailVO extends ContractVehicleVO {

        @Schema(description = "服务项目列表")
        private List<ContractVehicleServiceVO> services;
    }

}
