aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model/CreatePayment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/Common/Model/CreatePayment.hs')
-rw-r--r--common/src/Common/Model/CreatePayment.hs20
1 files changed, 10 insertions, 10 deletions
diff --git a/common/src/Common/Model/CreatePayment.hs b/common/src/Common/Model/CreatePayment.hs
index b5b6256..7a283e5 100644
--- a/common/src/Common/Model/CreatePayment.hs
+++ b/common/src/Common/Model/CreatePayment.hs
@@ -4,19 +4,19 @@ module Common.Model.CreatePayment
( CreatePayment(..)
) where
-import Data.Aeson (FromJSON)
-import Data.Text (Text)
-import Data.Time.Calendar (Day)
-import GHC.Generics (Generic)
+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.Category (CategoryId)
+import Common.Model.Frequency (Frequency)
data CreatePayment = CreatePayment
- { _createPayment_name :: Text
- , _createPayment_cost :: Int
- , _createPayment_date :: Day
- , _createPayment_category :: CategoryId
+ { _createPayment_name :: Text
+ , _createPayment_cost :: Int
+ , _createPayment_date :: Day
+ , _createPayment_category :: CategoryId
, _createPayment_frequency :: Frequency
} deriving (Show, Generic)