package shop.alien.entity.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 换桌DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "ChangeTableDTO对象", description = "换桌")
public class ChangeTableDTO {

    @ApiModelProperty(value = "原桌号ID", required = true)
    @NotNull(message = "原桌号ID不能为空")
    private Integer fromTableId;

    @ApiModelProperty(value = "目标桌号ID", required = true)
    @NotNull(message = "目标桌号ID不能为空")
    private Integer toTableId;

    @ApiModelProperty(value = "换桌原因")
    private String changeReason;
}
