fix: add code for user&branch type
This commit is contained in:
parent
c0a51dd1c6
commit
77270e028d
2 changed files with 7 additions and 5 deletions
|
|
@ -26,6 +26,7 @@ export type Branch = {
|
||||||
name: string;
|
name: string;
|
||||||
taxNo: string;
|
taxNo: string;
|
||||||
id: string;
|
id: string;
|
||||||
|
code: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type BranchCreate = {
|
export type BranchCreate = {
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ export type User = {
|
||||||
keycloakId: string;
|
keycloakId: string;
|
||||||
id: string;
|
id: string;
|
||||||
profileImageUrl: string;
|
profileImageUrl: string;
|
||||||
|
code: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type UserCreate = {
|
export type UserCreate = {
|
||||||
|
|
@ -53,12 +54,12 @@ export type UserCreate = {
|
||||||
trainingPlace?: string;
|
trainingPlace?: string;
|
||||||
importNationality?: string;
|
importNationality?: string;
|
||||||
sourceNationality?: string;
|
sourceNationality?: string;
|
||||||
licenseExpireDate?: Date;
|
licenseExpireDate?: Date | null;
|
||||||
licenseIssueDate?: Date;
|
licenseIssueDate?: Date | null;
|
||||||
licenseNo?: string;
|
licenseNo?: string;
|
||||||
discountCondition?: string;
|
discountCondition?: string;
|
||||||
retireDate?: Date;
|
retireDate?: Date | null;
|
||||||
startDate?: Date;
|
startDate?: Date | null;
|
||||||
registrationNo?: string;
|
registrationNo?: string;
|
||||||
lastNameEN: string;
|
lastNameEN: string;
|
||||||
lastName: string;
|
lastName: string;
|
||||||
|
|
@ -67,5 +68,5 @@ export type UserCreate = {
|
||||||
userRole: string;
|
userRole: string;
|
||||||
userType: string;
|
userType: string;
|
||||||
keycloakId: string;
|
keycloakId: string;
|
||||||
profileImage: File;
|
profileImage?: File;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue