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 com.red.circle.other.inner.model.dto.count.StatisticsPropsSaleQuotaDTO;
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 PropsSingeSaleCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 统计情况.
   */
  private List<StatisticsPropsSaleQuotaDTO> propsSaleQuotas;

}
