package com.copy.trade.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel("14日收益率")
@Data
public class YieldVo {

    @ApiModelProperty("日期")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date dateTime;

    @ApiModelProperty("14日收益率")
    private BigDecimal dayYield14;
}
