refactor: เพิ่ม type
This commit is contained in:
parent
6ea6cf231f
commit
461cd9fab8
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ import { District, Province, SubDistrict } from '../address';
|
||||||
import { Status } from '../types';
|
import { Status } from '../types';
|
||||||
import { User } from '../user/types';
|
import { User } from '../user/types';
|
||||||
|
|
||||||
|
import { Customer , CustomerBranch } from '../customer/types';
|
||||||
|
|
||||||
export type Employee = {
|
export type Employee = {
|
||||||
id: string;
|
id: string;
|
||||||
code: string;
|
code: string;
|
||||||
|
|
@ -45,6 +47,8 @@ export type Employee = {
|
||||||
district: District | null;
|
district: District | null;
|
||||||
province: Province | null;
|
province: Province | null;
|
||||||
profileImageUrl: string | null;
|
profileImageUrl: string | null;
|
||||||
|
customerBranch: CustomerBranch & { customer: Customer } ;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EmployeeCreate = {
|
export type EmployeeCreate = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue