Overview
The Establishment model represents individual dairy farm facilities in the Tambo360 platform. Each establishment is owned by a user and can manage multiple production batches.TypeScript Definition
Fields
Unique identifier for the establishment. Auto-generated UUID.Database: Primary key, UUID format
Name of the dairy farm establishment.Example: “La Esperanza”, “El Progreso”, “San José”
City or locality where the establishment is located.Example: “Rafaela”, “Villa María”, “Tandil”Usage: Used for geographical organization and reporting
Province or state where the establishment is located.Example: “Santa Fe”, “Córdoba”, “Buenos Aires”Usage: Regional analysis and reporting
Timestamp when the establishment was registered in the system.Default: Current timestampFormat: ISO 8601 datetime string
Foreign key reference to the owner user.Database: Foreign key to Usuario(idUsuario)Relation: Many-to-One with User
Relationships
Example Response
Example: Minimal Response
Usage Notes
Multi-Establishment Management
- Users can own and manage multiple establishments
- Each establishment operates independently with its own production batches
- Useful for producers managing multiple farm locations
Geographical Organization
localidadandprovinciaenable regional reporting- Can be used for aggregating statistics by region
- Supports multi-location farm management
Production Tracking
- All production batches are linked to an establishment
- Enables facility-specific performance metrics
- Supports traceability requirements
