package com.tzy.common.dto.act;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author by po'yi
 * @Classname GuessDTO
 * @Description 世界杯竞猜
 * @Date 2022/11/10 13:12
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class GuessUserDTO implements Serializable {
	/**竞猜结束总次数*/
	private Integer guessOverNums=0;
	/**竞猜总次数*/
	private Integer guessTotalNums=0;
	/**竞猜获取总金额*/
	private BigDecimal totalAmount=BigDecimal.ZERO;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 昵称
	 */
	private String nickname;
	/**
	 * 头像
	 */
	private String avatar;
	//预测正确
	private Integer winNums=0;
	//预测错误
	private Integer errNums=0;

	private Integer status;
	//序号
	private String no;

	public Integer getGuessOverNums() {
		return winNums+errNums;
	}
}
