feat: เพิ่ม type UpdatedBy , CreatedBy
This commit is contained in:
parent
e2f07f47cb
commit
e4aeb43d48
1 changed files with 82 additions and 0 deletions
|
|
@ -6,3 +6,85 @@ export type Pagination<T> = {
|
|||
};
|
||||
|
||||
export type Status = 'CREATED' | 'ACTIVE' | 'INACTIVE';
|
||||
|
||||
export type UpdatedBy = {
|
||||
updatedByUserId: string;
|
||||
updatedAt: string;
|
||||
createdByUserId: string;
|
||||
createdAt: string;
|
||||
statusOrder: number;
|
||||
status: string;
|
||||
birthDate: string;
|
||||
responsibleArea: string;
|
||||
trainingPlace: string;
|
||||
importNationality: string;
|
||||
sourceNationality: string;
|
||||
licenseExpireDate: string;
|
||||
licenseIssueDate: string;
|
||||
licenseNo: string;
|
||||
discountCondition: string;
|
||||
userRole: string;
|
||||
userType: string;
|
||||
checkpointEN: string;
|
||||
checkpoint: string;
|
||||
retireDate: string;
|
||||
startDate: string;
|
||||
registrationNo: string;
|
||||
telephoneNo: string;
|
||||
email: string;
|
||||
zipCode: string;
|
||||
subDistrictId: string;
|
||||
districtId: string;
|
||||
provinceId: string;
|
||||
addressEN: string;
|
||||
address: string;
|
||||
gender: string;
|
||||
username: string;
|
||||
lastNameEN: string;
|
||||
lastName: string;
|
||||
firstNameEN: string;
|
||||
firstName: string;
|
||||
code: string;
|
||||
id: string;
|
||||
};
|
||||
|
||||
export interface CreatedBy {
|
||||
updatedByUserId: string;
|
||||
updatedAt: string;
|
||||
createdByUserId: string;
|
||||
createdAt: string;
|
||||
statusOrder: number;
|
||||
status: string;
|
||||
birthDate: string;
|
||||
responsibleArea: string;
|
||||
trainingPlace: string;
|
||||
importNationality: string;
|
||||
sourceNationality: string;
|
||||
licenseExpireDate: string;
|
||||
licenseIssueDate: string;
|
||||
licenseNo: string;
|
||||
discountCondition: string;
|
||||
userRole: string;
|
||||
userType: string;
|
||||
checkpointEN: string;
|
||||
checkpoint: string;
|
||||
retireDate: string;
|
||||
startDate: string;
|
||||
registrationNo: string;
|
||||
telephoneNo: string;
|
||||
email: string;
|
||||
zipCode: string;
|
||||
subDistrictId: string;
|
||||
districtId: string;
|
||||
provinceId: string;
|
||||
addressEN: string;
|
||||
address: string;
|
||||
gender: string;
|
||||
username: string;
|
||||
lastNameEN: string;
|
||||
lastName: string;
|
||||
firstNameEN: string;
|
||||
firstName: string;
|
||||
code: string;
|
||||
id: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue