package com.crm.manager.dto.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import org.springframework.format.annotation.NumberFormat;

@Data
public class RiskSymbolExportDto extends BaseRowModel {
    @ExcelProperty(value = "Symbol_name", index = 0)
    private String symbol;

    @ExcelProperty(value = "long_swap_value", index = 1)
    @NumberFormat
    private Double longSwap;

    @ExcelProperty(value = "short_swap_value", index = 2)
    @NumberFormat
    private Double shortSwap;

    @ExcelProperty(value = "coefficient", index = 3)
    private String coefficient;
}
