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 com.red.circle.framework.dto.ClientObject;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 成员工作情况.
 *
 * @author pengliang on 2022/12/26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TeamMemberWorkTargetCO extends ClientObject {

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 发送礼物.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long acceptGiftValue;
  private String acceptGiftValueFormat;

  /**
   * 接收钻石
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long acceptDiamondValue;

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

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

  /**
   * 员工钻石.
   */
  private String surplusDiamonds;

  /**
   * 每天目标.
   */
  private List<TeamMemberWorkDailyTargetCO> dailyTargets;

  /**
   * 备注-用户可见.
   */
  private List<String> remarks;

  /**
   * 结算结果.
   */
  private TeamMemberTargetSettlementResultCO settlementResult;

}
