AST 1203 adp employee model
Create ADP/HRIS Employee Model
Define a Pydantic model representing employee data from ADP, providing type safety and validation for the integration workflow.
Key details:
- Create in
common/models/adp.py - Use Pydantic BaseModel for data validation
- Define models for: raw ADP response, parsed employee data, transformed Costpoint format
- Map ADP field names to standardized internal names using field aliases
- Handle optional fields with
Optional[T]or default values - Consider nested structures for addresses, contact info, etc.
- See
common/models/pokemon.pyfor reference pattern