package com.yolo.keyboard.module.system.controller.admin.tenant.vo.tenant;

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

import java.math.BigDecimal;

@Schema(description = "管理后台 - 当前租户信息 Response VO")
@Data
public class TenantInfoRespVO {

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

    @Schema(description = "上级租户编号", example = "1")
    private Long parentId;

    @Schema(description = "代理级别", example = "1")
    private Integer tenantLevel;

    @Schema(description = "分润比例", example = "0.3")
    private BigDecimal profitShareRatio;

}
