# Issue #196: Implement Transaction model

## Goal
Create Transaction Eloquent model with: fillable (type, status, operation_number, requester_id, authorizer_id, dispatcher_id, source_location_id, destination_location_id, notes), relationships (requester, authorizer, dispatcher, sourceLocation, destinationLocation, items), casts for timestamps, scopes (byType, byStatus).

## Requirements (To-Do)
- [ ] Create Transaction model with fillable properties
- [ ] Add user relationships (requester, authorizer, dispatcher)
- [ ] Add location relationships (sourceLocation, destinationLocation)
- [ ] Add items() relationship through transactionItems
- [ ] Add byType() scope
- [ ] Add byStatus() scope
- [ ] Add date casts for workflow timestamps

## Acceptance Criteria
- Model exists with all properties
- All user and location relationships work
- Scopes filter correctly
- Timestamps are properly cast



## Implementation Status
**Status:** ⚠️ PARTIAL
**Note:** Using `Operacion` + individual tables instead of unified


## Implementation Status
**✅ COMPLETED**
**Note:** Implemented
## Labels
- type:feature
- priority:high
- module:database

## Milestone
M1-Foundation
