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 java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2022/12/20
 */
@Data
@Accessors(chain = true)
public class TeamCalculatorWorkResultDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 工作人数.
   */
  private Integer workMembers;

  /**
   * 完成人数.
   */
  private Integer finishMembers;

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

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

  /**
   * 工资合计memberSalary+ownSalary.
   */
  private BigDecimal totalSalary;

  /**
   * 政策id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long policyId;

}
