export interface BovineBuildingCaseRef { caseNumber: number | null building: { label: string } | null } export interface BovineData { id: number nationalNumber: string receivedWeight: number | null arrivalDate: string | null exitDate: string | null buildingCase: BovineBuildingCaseRef | null supplier: string | null workNumber: string | null birthDate: string | null breedCode: string | null sex: string | null ageMonths: number | null exitedAt: string | null } export type BovinePayload = { nationalNumber?: string receivedWeight?: number | null arrivalDate?: string | null buildingCase?: string | null supplier?: string | null }