1 {-# LANGUAGE DeriveDataTypeable #-}
2 module Hcompta.Model.Transaction where
5 import Data.Typeable ()
6 import Text.Parsec.Pos (SourcePos)
8 import qualified Hcompta.Model.Date as Date
9 import qualified Hcompta.Model.Posting as Posting
10 import qualified Hcompta.Model.Tag as Tag
14 { sourcepos :: SourcePos
16 , date2 :: Maybe Date.Day
19 , description :: String
22 , postings :: [Posting.T]
23 , preceding_comment_lines :: String
24 } deriving (Data, Eq, Show, Typeable)