package com.red.circle.console.app.dto.clienobject.count;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.io.Serial;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2022/4/2
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class PropsSaleCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 总额.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long total;

  /**
   * 道具资源统计.
   */
  private List<PropsSaleSourceCO> propsSales;

}
