@@ -38,19 +38,6 @@ export class Announcement {
|
||||
})
|
||||
public imageUrl: string | null;
|
||||
|
||||
@Index()
|
||||
@Column('varchar', {
|
||||
...id(),
|
||||
nullable: true,
|
||||
})
|
||||
public userId: string | null;
|
||||
|
||||
@Column('integer', {
|
||||
nullable: false,
|
||||
default: 0,
|
||||
})
|
||||
public closeDuration: number;
|
||||
|
||||
constructor(data: Partial<Announcement>) {
|
||||
if (data == null) return;
|
||||
|
||||
|
Reference in New Issue
Block a user