Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 4efe464d authored by Pattaradanai's avatar Pattaradanai
Browse files

set default image for employees to 'noimg.jpg'

parent af9c0e4e
No related branches found
No related tags found
No related merge requests found
public/images/emp/noimg.jpg

14 KiB

......@@ -30,7 +30,12 @@ export class Employee {
@Column({ type: 'date' })
startDate: Date;
@Column({ type: 'varchar', length: 255, nullable: true })
@Column({
type: 'varchar',
length: 255,
nullable: true,
default: 'noimg.jpg',
})
image: string;
@ManyToMany(() => Queue, (queue) => queue.employees)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment