| @@ -1,10 +1,10 @@ | ||||
| import { PrimaryGeneratedColumn, Column, OneToMany, Entity, ManyToOne } from "typeorm"; | ||||
| import { | ||||
|   IsInt, | ||||
|   IsNotEmpty, | ||||
|   IsOptional, | ||||
|   IsString, | ||||
|  | ||||
|   IsString | ||||
| } from "class-validator"; | ||||
| import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from "typeorm"; | ||||
| import { User } from './User'; | ||||
| import { UserGroup } from './UserGroup'; | ||||
| /** | ||||
| @@ -16,7 +16,6 @@ export abstract class Permission { | ||||
|    * Autogenerated unique id (primary key). | ||||
|    */ | ||||
|   @PrimaryGeneratedColumn() | ||||
|   @IsOptional() | ||||
|   @IsInt() | ||||
|   id: number; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user