package com.red.circle.other.infra.database.mongo.entity.game.luck.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * lucky box 盈亏.
 * </p>
 *
 * @author pengliang on 2022-7-29
 */

@Data
@Accessors(chain = true)
public class GameLuckyBoxProfitLossDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 收入.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long income;

  /**
   * 支出.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long expenditure;

  /**
   * 余.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long remain;

}
