feat: create user

This commit is contained in:
2024-08-05 01:47:11 +03:00
parent 8736fe475b
commit 4ad843e465
10 changed files with 119 additions and 15 deletions

View File

@@ -6,7 +6,6 @@ import type { PayRateSchema } from './PayRateSchema';
import type { PositionSchema } from './PositionSchema';
import type { RoleSchema } from './RoleSchema';
export type UserSchema = {
id: number;
telegramId: number;
phoneNumber?: (string | null);
firstName: string;
@@ -17,6 +16,7 @@ export type UserSchema = {
isDeleted: boolean;
roleKey: string;
payRate?: (PayRateSchema | null);
id: number;
role: RoleSchema;
position?: (PositionSchema | null);
};