package com.brframework.webapppatch.service;

import com.brframework.commondb.core.EntityService;
import com.brframework.webapppatch.entity.PatchGrayUser;

/**
 * 灰度用户
 * @author xu
 * @date 2019/11/14 10:29
 */
public interface PatchGrayUserService extends EntityService<PatchGrayUser, Long, Object> {

    /**
     * 创建灰度用户
     * @param username
     */
    void createGrayUser(String username);

    /**
     * 是否是灰度用户
     * @param username
     * @return
     */
    boolean isGrayUser(String username);

}
