package com.jeequan.jeepay.db.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户<->权限规则 关联表 
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2022-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sys_user_entrule_rela")
public class SysUserEntruleRela implements Serializable {

    /** 店长 **/
    public static String USER_TYPE_11_INIT = "USER_TYPE_11_INIT";
    /** 店员 **/
    public static String USER_TYPE_12_INIT = "USER_TYPE_12_INIT";

    private static final long serialVersionUID=1L;

    /**
     * 系统用户ID
     */
    @TableId
    private Long sysUserId;

    /**
     * 菜单匹配规则，具体规则匹配详见程序说明, JSONArray格式 
     */
    private String rules;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;


}
