aboutsummaryrefslogtreecommitdiff
path: root/src/common/Model/EditPayment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Model/EditPayment.hs')
-rw-r--r--src/common/Model/EditPayment.hs25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/common/Model/EditPayment.hs b/src/common/Model/EditPayment.hs
deleted file mode 100644
index 172c0c1..0000000
--- a/src/common/Model/EditPayment.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE DeriveGeneric #-}
-
-module Common.Model.EditPayment
- ( EditPayment(..)
- ) where
-
-import Data.Aeson (FromJSON)
-import Data.Text (Text)
-import Data.Time.Calendar (Day)
-import GHC.Generics (Generic)
-
-import Common.Model.Category (CategoryId)
-import Common.Model.Frequency (Frequency)
-import Common.Model.Payment (PaymentId)
-
-data EditPayment = EditPayment
- { _editPayment_id :: PaymentId
- , _editPayment_name :: Text
- , _editPayment_cost :: Int
- , _editPayment_date :: Day
- , _editPayment_category :: CategoryId
- , _editPayment_frequency :: Frequency
- } deriving (Show, Generic)
-
-instance FromJSON EditPayment