Files
lcbp3/frontend/types/admin.ts
admin c8a0f281ef
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled
251210:1709 Frontend: reeactor organization and run build
2025-12-10 17:09:11 +07:00

44 lines
738 B
TypeScript

export interface Role {
roleId: number;
roleName: string;
description: string;
}
export interface User {
userId: number;
username: string;
email: string;
firstName: string;
lastName: string;
isActive: boolean;
roles: Role[];
}
export interface CreateUserDto {
username: string;
email: string;
firstName: string;
lastName: string;
password?: string;
isActive: boolean;
roles: number[];
}
export interface Organization {
orgId: number;
orgCode: string;
orgName: string;
orgNameTh?: string;
description?: string;
}
export interface AuditLog {
auditLogId: number;
userName: string;
action: string;
entityType: string;
description: string;
ipAddress?: string;
createdAt: string;
}