All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.zhxu.bp.model.UserMsg Maven / Gradle / Ivy

The newest version!
package cn.zhxu.bp.model;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

import static cn.zhxu.bp.enums.SysConst.PushEvt;

/**
 * 推送消息
 * @author Troy.Zhou @ 2022/9/21
 * 适用于以下事件
 * @see PushEvt#ACCOUNT_USER_REGISTER
 * @see PushEvt#ACCOUNT_CONSOLE_CREATE
 * @see PushEvt#ACCOUNT_CONSOLE_UPDATE
 * @see PushEvt#ACCOUNT_API_CREATE
 * @see PushEvt#ACCOUNT_API_UPDATE
 */
@Getter
@Setter
public class UserMsg extends UserAdm {

    /**
     * 角色编码
     */
    private List roleKeys;

    /**
     * 地址
     */
    private String address;

    /**
     * 备注
     */
    private String remark;

    /**
     * 过期时间
     */
    private String expireAt;

    /**
     * 是否拥有上帝之手特权
     */
    private boolean sysGod;

    /**
     * 是否拥有万能钥匙特权
     */
    private boolean subGod;

    /**
     * 操作者编码
     */
    private String actorNo;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy