package com.red.circle.other.inner.model.dto.agency.agency;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.enums.team.TeamBillCycleStatus;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 团队账单周期.
 *
 * @author pengliang on 2022/12/1
 */
@Data
@Accessors(chain = true)
public class TeamBillCycleDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 账单ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * 团队id.
   */
  private Long teamId;

  /**
   * 区域.
   */
  private String region;

  /**
   * 状态
   */
  private TeamBillCycleStatus status;

  /**
   * 结算结果.
   */
  private TeamBillSettleResultDTO settleResult;

  /**
   * 成员工作账单目标
   */
  private TeamBillMemberTargetDTO billMemberTargetDTO;

  /**
   * 内部备注.
   */
  private List<TeamRemark> internalRemarks;

  /**
   * 账单归属.
   */
  private Integer billBelong;

  /**
   * 账单标题.
   */
  private String billTitle;

  /**
   * 团队资料.
   */
  private TeamProfileDTO teamProfile;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  /**
   * 创建用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createUser;

  /**
   * 修改用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long updateUser;

}
