module Billable
  include DataMapper::Resource

  is :remixable,
    :suffix => "billing_account"

  property :id,         Serial

  property :cc_type,    Enum, :flags => ["mastercard", "amex", "visa"]
  property :cc_num,     String, :length => 12..20
  property :expiration, Date
end
