feat: add file location for employee
This commit is contained in:
parent
f2b79d2576
commit
ceb72f9c50
1 changed files with 5 additions and 0 deletions
|
|
@ -59,6 +59,11 @@ export const fileLocation = {
|
|||
customer: {
|
||||
img: (customerId: string, name?: string) => `customer/img-${customerId}/${name || ""}`,
|
||||
},
|
||||
employee: {
|
||||
img: (employeeId: string, name?: string) => `employee/img-${employeeId}/${name || ""}`,
|
||||
attachment: (employeeId: string, name?: string) =>
|
||||
`employee/attachment-${employeeId}/${name || ""}`,
|
||||
},
|
||||
product: {
|
||||
img: (productId: string, name?: string) => `product/img-${productId}/${name || ""}`,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue