package com.red.circle.other.app.dto.cmd.user.user;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotBlank;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户实时状态表.
 * </p>
 *
 * @author pengliang
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserOnlineStatusUploadCmd extends AppExtCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 状态.
   *
   * @eo.required
   */
  @NotBlank(message = "status required")
  private String status;

  /**
   * 是否定时调用.
   */
  private Boolean task;

  /**
   * 房间会话.
   */
  private String sessionId;

}
