package com.red.circle.other.app.dto.clientobject.team;

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

/**
 * 政策.
 *
 * @author pengliang on 2022/12/26
 */
@Data
@Accessors(chain = true)
public class TeamPolicyCO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 等级.
   */
  private Integer level;

  /**
   * 在线时间.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long onlineTime;

  /**
   * 20240918 政策新增有效天字段
   * 大于1小时（60分钟）即可获取当天有效天
   */
  private Integer effectiveDay;

  /**
   * 目标.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long target;

  /**
   * 成员工资.
   */
  private BigDecimal memberSalary;

  /**
   * 拥有者工资.
   */
  private BigDecimal ownSalary;

  /**
   * 合计.
   */
  private BigDecimal totalSalary;

  /**
   * 道具奖励.
   */
  private Object propsRewards;
}
