package com.red.circle.other.inner.model.cmd.team;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import com.red.circle.other.inner.enums.team.TeamBillCycleStatus;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 修改团队账单状态.
 *
 * @author pengliang on 2022/12/21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class TeamBillStatusChangeCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 备注.
   */
  private String remarks;

  /**
   * 修改用户.
   */
  private Long updateUser;
}
