Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Entity } from '../entity.js';
import { SupportConversation } from './support_conversation.js';
import { User } from './user.js';
export class SupportMessage extends Entity {
protected static resourceName = 'support_messages';
protected static singularName = 'supportMessage';
protected static pluralName = 'supportMessages';
@SupportMessage.property()
public id?: number;
@SupportMessage.property({ type: SupportConversation })
public conversation?: SupportConversation;
@SupportMessage.property({ type: String })
public senderType?: string; // 'guest' | 'manager'
@SupportMessage.property({ type: User })
public user?: User | null;
@SupportMessage.property({ type: String })
public content?: string;
@SupportMessage.property({ type: Date })
public creationDate?: Date | null;
@SupportMessage.property({ type: Boolean })
public isAiReply?: boolean;
}
|