added new useredit page
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
class UserPermissionTemplateModel extends TTCrudBaseModel {
|
||||
public int $id;
|
||||
public string $name;
|
||||
public string $permissions; // JSON
|
||||
public int $create;
|
||||
public int $createBy;
|
||||
}
|
||||
|
||||
//SQL:
|
||||
// CREATE TABLE `UserPermissionTemplate` (
|
||||
// `id` int NOT NULL AUTO_INCREMENT,
|
||||
// `name` varchar(255) NOT NULL,
|
||||
// `permissions` text NOT NULL,
|
||||
// `create` int NOT NULL,
|
||||
// `createBy` int NOT NULL,
|
||||
// PRIMARY KEY (`id`)
|
||||
// ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
// ALTER TABLE `UserPermissionTemplate` ADD UNIQUE(`name`);
|
||||
Reference in New Issue
Block a user