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.List;
import java.util.Map;

/**
 * 定额费率字段响应 VO
 */
@Schema(description = "管理后台 - 定额费率字段响应")
@Data
public class QuotaRateFieldRespVO {

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

    @Schema(description = "关联费率项ID")
    private Long rateItemId;

    @Schema(description = "字段索引")
    private Integer fieldIndex;

    @Schema(description = "字段值")
    private Integer fieldValue;

    @Schema(description = "字段标签")
    private String fieldLabel;

    @Schema(description = "绑定的节点ID数组")
    private Long[] bindingIds;

    @Schema(description = "绑定详情（快照时使用）")
    private List<Map<String, Object>> bindingDetails;

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

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