1 {-# LANGUAGE DeriveDataTypeable #-}
2 {-# OPTIONS_GHC -fno-warn-orphans #-}
3 module Hcompta.Model.Transaction where
6 import Data.Typeable ()
7 import Text.Parsec.Pos (SourcePos)
9 import qualified Hcompta.Model.Date as Date ()
10 import Hcompta.Model.Date (Date)
11 import qualified Hcompta.Model.Transaction.Posting as Posting
12 import qualified Hcompta.Model.Transaction.Tag as Tag
14 -- * The 'Transaction' type
22 , description :: String
23 , postings :: Posting.By_Account
24 , preceding_comment_lines :: String
25 , sourcepos :: SourcePos
28 } deriving (Data, Eq, Read, Show, Typeable)
30 -- * Types to submodules
32 type Posting = Posting.Posting