package com.izouma.nineth.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserHoldDTO {

    @ExcelIgnore
    private String name;

    @ExcelIgnore
    private String prefixName;

    @ExcelProperty("用户id")
    private Long userId;

    @ExcelProperty("用户头像")
    private String avatar;

    @ExcelProperty("用户昵称")
    private String nickname;

    @ExcelProperty("用户名")
    private String username;

    @ExcelProperty("持仓数量")
    private int num;

    @ExcelProperty("预计价值")
    private BigDecimal price = BigDecimal.ZERO;

}
