Appearance
ema / @internals/db / RoleEntity
Interface: RoleEntity
Defined in: db/base.ts:25
Represents role data structure
Extends
Properties
createdAt?
ts
optional createdAt: number;Defined in: db/base.ts:14
The date and time the entity was created
Inherited from
description?
ts
optional description: string;Defined in: db/base.ts:33
The description of the role
id?
ts
optional id: number;Defined in: db/base.ts:10
The unique identifier for the entity
Inherited from
name?
ts
optional name: string;Defined in: db/base.ts:29
The name of the role
prompt?
ts
optional prompt: string;Defined in: db/base.ts:37
The prompt of the role
updatedAt?
ts
optional updatedAt: number;Defined in: db/base.ts:41
The date and time the user was last updated