package com.copy.trade.entity.vo;

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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("跟单记录")
public class CopiedTradeVo {
	
	private Long id;

	@ApiModelProperty("用户ID")
	private Long customerId;
	@ApiModelProperty("用户昵称")
	private String customerName;
	@ApiModelProperty("用户会员ID")
	private Long customerMemberId;
	
	@ApiModelProperty("交易员ID")
	private Long traderId;
	@ApiModelProperty("交易员昵称")
	private String traderName;
	@ApiModelProperty("交易员会员ID")
	private Long traderMemberId;

	@ApiModelProperty("交易对")
	private String symbol;

	@ApiModelProperty("方向(0多 1空)")
	private Integer direction;
	
	@ApiModelProperty("杠杆")
	private Integer leverage;

	@ApiModelProperty("交易量")
	private BigDecimal volume;

	@ApiModelProperty("保证金")
	private BigDecimal principalAmount;
	
	@ApiModelProperty("开仓价")
	private BigDecimal openPrice;
	
	@ApiModelProperty("平仓价")
	private BigDecimal closePrice;
	
	@ApiModelProperty("盈亏金额")
	private BigDecimal profitAndLoss;

	@ApiModelProperty("跟单时间")
	private Long entrustTime;
	
	@ApiModelProperty("创建时间")
	private Date createdTime;
}
