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.util.Date;

@ApiModel("我的学生")
@Data
public class FollowerVo {

	@ApiModelProperty("id")
    private Long id;

	@ApiModelProperty("memberId")
	private Long memberId;

	@ApiModelProperty("昵称")
	private String nickname;

	@ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("账户总余额")
    private String totalAccountBalance;

    @ApiModelProperty("资产账户")
    private String assetAccount;

    @ApiModelProperty("合约账户")
    private String contractAccount;

    @ApiModelProperty("跟单账户")
    private String followAccount;

    @ApiModelProperty("跟单总盈亏")
    private String followAllprofitOrLoss;

    @ApiModelProperty("本单盈亏")
    private String profitOrLoss;

    @ApiModelProperty("跟随时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date followTime;
    
    @ApiModelProperty("是否有跟随仓位")
    private Boolean hasPosition;
    
}
