TIDE/backend/app/User
yisroel eca73213f5
add User persistence: model, migration, eloquent + fake repo
UserModel maps users table (id, email unique, password_hash,
is_admin bool default false). EloquentUserRepository implements
UserRepository: create from CreateUserDto, find by id,
findByEmail. toDomain() materializes a User entity wrapping email
in EmailAddress vo. FakeUserRepository: in-memory map keyed by
auto-incrementing id, returns defensive copies on read (per
youngstartup pattern). composer stan script now passes
--no-progress for cleaner ci output.
2026-05-06 15:10:21 +03:00
..
CreateUserDto.php add User entity, dto, repository interface 2026-05-06 15:00:49 +03:00
EloquentUserRepository.php add User persistence: model, migration, eloquent + fake repo 2026-05-06 15:10:21 +03:00
User.php add User entity, dto, repository interface 2026-05-06 15:00:49 +03:00
UserModel.php add User persistence: model, migration, eloquent + fake repo 2026-05-06 15:10:21 +03:00
UserRepository.php add User entity, dto, repository interface 2026-05-06 15:00:49 +03:00