module Model.EditPayment
  ( EditPayment(..)
  ) where

import           Data.Text          (Text)
import           Data.Time.Calendar (Day)

import           Common.Model       (CategoryId, Frequency, PaymentId)

data EditPayment = EditPayment
  { _editPayment_id        :: PaymentId
  , _editPayment_name      :: Text
  , _editPayment_cost      :: Int
  , _editPayment_date      :: Day
  , _editPayment_category  :: CategoryId
  , _editPayment_frequency :: Frequency
  } deriving (Show)