package com.m2pool.lease.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 表头信息
 * @Date 2025/11/28 13:31
 * @Author yyb
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "表头信息",value = "TableHeadersDto" )
public class TableHeadersDto {

    /**
     * 动态列第几列
     */
    @ApiModelProperty(value = "动态列第几列")
    private String key;

    /**
     * 列名
     */
    @ApiModelProperty(value = "列名")
    private String label;

    /**
     * 类型 text/amount/hashrate/days
     */
    @ApiModelProperty(value = "类型 text/amount/hashrate/days")
    private String type;

    /**
     * 固定列  left/right/不传
     */
    @ApiModelProperty(value = "固定列  left/right/不传")
    private String fixed;

    @ApiModelProperty(value = "价格单位")
    private String currency;

    @ApiModelProperty(value = "时间间隔")
    private String period;

    /**
     * 算力单位
     */
    @ApiModelProperty(value = "算力单位")
    private String unit;

    @ApiModelProperty(value = "图标")
    private String icon;

    /**
     * 宽度
     */
    @ApiModelProperty(value = "宽度")
    private Integer width;
}
