package com.kym.entity.admin;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kym.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author skyline
 * @since 2023-07-12
 */
@Getter
@Setter
@TableName("t_role")
public class Role extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 父角色id
     */
    private Long parentId;

    /**
     * 角色名
     */
    private String roleName;

    /**
     * 角色描述
     */
    private String roleDesc;

    /**
     * 权限
     */
    private String permissions;

}
