package com.infoepoch.pms.agent.platform.model.adapter.in.web.dto;

import com.infoepoch.pms.agent.platform.model.domain.ProviderType;
import lombok.Getter;

/**
 * 供应商类型响应 DTO。
 */
@Getter
public class ProviderTypeResponse {
    private final String code;
    private final String displayName;

    public ProviderTypeResponse(ProviderType type) {
        this.code = type.getCode();
        this.displayName = type.getDisplayName();
    }
}
