เพิ่ม noti

This commit is contained in:
kittapath 2024-10-07 23:33:55 +07:00
parent 0269036af7
commit 3871ec5f9f
3 changed files with 40 additions and 5 deletions

View file

@ -101,11 +101,13 @@ export class CommandRecive extends EntityBase {
@JoinColumn({ name: "commandId" })
command: Command;
// @Column({
// length: 40,
// comment: "คีย์นอก(FK)ของตาราง profile",
// })
// profileId: string;
@Column({
nullable: true,
length: 40,
comment: "คีย์นอก(FK)ของตาราง profile",
default: null,
})
profileId: string;
// @ManyToOne(() => Profile, (profile) => profile.commandRecives)
// @JoinColumn({ name: "profileId" })