refactor: เพิ่ม type

This commit is contained in:
Net 2024-07-08 16:37:54 +07:00
parent 6ea6cf231f
commit 461cd9fab8

View file

@ -2,6 +2,8 @@ import { District, Province, SubDistrict } from '../address';
import { Status } from '../types';
import { User } from '../user/types';
import { Customer , CustomerBranch } from '../customer/types';
export type Employee = {
id: string;
code: string;
@ -45,6 +47,8 @@ export type Employee = {
district: District | null;
province: Province | null;
profileImageUrl: string | null;
customerBranch: CustomerBranch & { customer: Customer } ;
};
export type EmployeeCreate = {