| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- package top.lvzhiqiang.entity;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.time.LocalDateTime;
- /**
- * coin当前持有
- *
- * @author lvzhiqiang
- * 2024/10/15 17:52
- */
- @Data
- public class CoinCurrencyHolding implements Serializable {
- /**
- * 主键
- */
- private Long id;
- /**
- * 名称
- */
- private String symbol;
- private String symbolStyle;
- /**
- * 入场价格
- */
- private String buyPrice;
- /**
- * 当前价格
- */
- private String currentPrice;
- private String currentPriceStyle;
- /**
- * 涨跌幅比例
- */
- private BigDecimal changePercentage;
- private String changePercentageStyle;
- /**
- * 入场数量
- */
- private String buyQuantity;
- /**
- * 当前数量
- */
- private String currentQuantity;
- /**
- * 入场总额
- */
- private BigDecimal buyAmount;
- /**
- * 当前总额
- */
- private BigDecimal currentAmount;
- /**
- * 所属平台
- */
- private String exchangeCategory;
- private Integer exchangeCategoryId;
- /**
- * coingecko id
- */
- private String coingeckoId;
- /**
- * 状态(1:正常,2:失效)
- */
- private Integer status;
- /**
- * 备注
- */
- private String remark;
- /**
- * 买入时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime buyTime;
- /**
- * 最后修改时间
- */
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime modifyTime;
- /**
- * 删除标志(1:正常,2:已删除)
- */
- private Integer deleteFlag;
- }
|