You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
import { Base } from 'src/common';
|
|
import { Column, Entity } from 'typeorm';
|
|
|
|
@Entity({ name: 'node-roles' })
|
|
export class RoleEntity extends Base {
|
|
@Column({ length: 50, nullable: false })
|
|
public name: string;
|
|
|
|
@Column({ type: 'text', nullable: true })
|
|
public permissions: string;
|
|
}
|