package com.yhy.module.core.controller.admin.quota.vo;

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

import java.time.LocalDateTime;
import java.util.Map;

@Schema(description = "管理后台 - 定额取费项 Response VO")
@Data
public class QuotaFeeItemRespVO {

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

    @Schema(description = "租户ID", example = "1")
    private Long tenantId;

    @Schema(description = "模式节点ID", example = "1002")
    private Long catalogItemId;

    @Schema(description = "自定义序号", example = "一")
    private String customCode;

    @Schema(description = "名称", example = "企业管理费")
    private String name;

    @Schema(description = "计算基数")
    private Map<String, Object> calcBase;

    @Schema(description = "费率代号（%）", example = "15")
    private String rateCode;

    @Schema(description = "代号", example = "QYGLF")
    private String code;

    @Schema(description = "费用归属", example = "间接费")
    private String feeCategory;

    @Schema(description = "基数说明", example = "按除税基价和含税基价之和计算")
    private String baseDescription;

    @Schema(description = "排序字段", example = "1")
    private Integer sortOrder;

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

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
