Reconstruct the permission system

This commit is contained in:
2023-10-30 16:28:32 +08:00
parent 97af1331e2
commit 69680dd4ad
48 changed files with 191 additions and 112 deletions

View File

@@ -0,0 +1,38 @@
package top.fatweb.api.entity.permission
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import java.io.Serializable
/**
* <p>
* 模块表
* </p>
*
* @author FatttSnake
* @since 2023-10-25
*/
@TableName("t_module")
class Module : Serializable {
@TableId("id")
var id: Long? = null
/**
* 模块名
*/
@TableField("name")
var name: String? = null
/**
* 权限ID
*/
@TableField("power_id")
var powerId: Long? = null
override fun toString(): String {
return "Module(id=$id, name=$name, powerId=$powerId)"
}
}