chamesu
Version:
This package contains all packages of the chat application.
53 lines (42 loc) • 1.19 kB
text/typescript
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
import {
Column,
CreateDateColumn,
Entity,
JoinColumn,
ManyToOne,
PrimaryGeneratedColumn,
UpdateDateColumn
} from "typeorm";
import {AuthUser} from "../../auth/user";
import {ChatRoom} from "../room";
import {ChatMessage} from "../message";
export class ChatMessageStatus {
id!: string;
last_read_id!: number;
lsat_read!: AuthUser;
created_at!: Date;
updated_at!: Date;
user_id!: number;
user!: AuthUser;
room_id!: string;
room!: ChatRoom;
}