feat: add file location for employee

This commit is contained in:
Methapon Metanipat 2024-09-11 09:42:05 +07:00
parent f2b79d2576
commit ceb72f9c50

View file

@ -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 || ""}`,
},