package com.red.circle.common.business.dto.cmd.app;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author pengliang on 2020/11/26
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppRoomIdCmd extends AppExtCommand {

  /**
   * 房间id.
   */
  @NotNull(message = "roomId required.")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long roomId;

}
