import TSN.Picklers ( xp_date_padded, xp_tba_time, xp_time_stamp )
import TSN.XmlImport ( XmlImport(..), XmlImportFk(..) )
import Xml (
import TSN.Picklers ( xp_date_padded, xp_tba_time, xp_time_stamp )
import TSN.XmlImport ( XmlImport(..), XmlImportFk(..) )
import Xml (
-- | Each 'AutoRacingScheduleListingXml' is contained in (i.e. has a
-- foreign key to) a 'AutoRacingSchedule'.
--
type Parent AutoRacingScheduleListingXml = AutoRacingSchedule
-- | Each 'AutoRacingScheduleListingXml' is contained in (i.e. has a
-- foreign key to) a 'AutoRacingSchedule'.
--
type Parent AutoRacingScheduleListingXml = AutoRacingSchedule
-- | To convert an 'AutoRacingScheduleListingXml' to an
-- 'AutoRacingScheduleListing', we add the foreign key and drop
-- the 'xml_race_results'. We also mash the date/time together
-- | To convert an 'AutoRacingScheduleListingXml' to an
-- 'AutoRacingScheduleListing', we add the foreign key and drop
-- the 'xml_race_results'. We also mash the date/time together
db_leading_laps :: Int,
db_listing_laps :: Int, -- ^ Avoid clash with race's \"laps\" field.
db_earnings :: String, -- ^ This should be an Int, but can have commas.
db_leading_laps :: Int,
db_listing_laps :: Int, -- ^ Avoid clash with race's \"laps\" field.
db_earnings :: String, -- ^ This should be an Int, but can have commas.
xml_leading_laps :: Int,
xml_listing_laps :: Int, -- ^ Avoid clash with race's \"laps\" field.
xml_earnings :: String, -- ^ Should be an 'Int', but can have commas.
xml_leading_laps :: Int,
xml_listing_laps :: Int, -- ^ Avoid clash with race's \"laps\" field.
xml_earnings :: String, -- ^ Should be an 'Int', but can have commas.
-- | Each 'AutoRacingScheduleListingRaceResultRaceResultListingXml'
-- is contained in (i.e. has a foreign key to) an
-- 'AutoRacingScheduleListing'. We skip the intermediate
-- | Each 'AutoRacingScheduleListingRaceResultRaceResultListingXml'
-- is contained in (i.e. has a foreign key to) an
-- 'AutoRacingScheduleListing'. We skip the intermediate
-- | To convert an
-- 'AutoRacingScheduleListingRaceResultRaceResultListingXml' to an
-- 'AutoRacingScheduleListingRaceResultRaceResultListing', we just
-- | To convert an
-- 'AutoRacingScheduleListingRaceResultRaceResultListingXml' to an
-- 'AutoRacingScheduleListingRaceResultRaceResultListing', we just
db_leading_laps = xml_leading_laps,
db_listing_laps = xml_listing_laps,
db_earnings = xml_earnings,
db_leading_laps = xml_leading_laps,
db_listing_laps = xml_listing_laps,
db_earnings = xml_earnings,