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

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

/**
 * 店员和陪聊关注状态
 *
 * @author admin
 */
@Data
public class PlayClerkFollowStateUpdate {

    /**
     * 店员用户ID
     */
    @NotBlank(message = "打赏对象不能为空")
    private String clerkId;

    @NotBlank(message = "关注状态不能为空")
    @Pattern(regexp = "[01]", message = "关注状态必须为0或者1")
    private String followState;
}
