YZ
Size: a a a
YZ
С
YZ
С
КП
YZ
new Promise((res) => setInterval(()=>res(function), 500));ЛХ
КП
С
new Promise((res) => setInterval(()=>res(function), 500));YZ
YZ
new Promise((res) => setInterval(()=>res(function), 500));С
С
YZ
GS
С
ЛХ
R
import { BaseEntity, Entity, PrimaryKey, Property } from "@mikro-orm/core";
@Entity()
export class Post {
    @PrimaryKey()
    id!: number
    @Property({ type: 'date' })
    created_at = new Date();
    @Property({ type: 'date', onUpdate: () => new Date() })
    updated_at = new Date();
    @Property({ type: 'text ' })
    title!: string;
}YZ