package com.starry.admin.modules.weichat.entity;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import lombok.Data;

/**
 * 店员在线状态【1：在线，0：离线】
 *
 * @author admin
 * @since 2024/4/11 11:19
 **/
@Data
public class PlayClerkUserOnlineStateVo {

    /**
     * 在线状态
     */
    @NotNull(message = "在线状态不能为空")
    @Pattern(regexp = "[01]", message = "在线状态必须为0或1")
    private String onlineState;

}
