Sha256: c1d4c18b44e0c0657d2addd65dafa508f59668d10146ac2bf2ae0e4d5213de0b

Contents?: true

Size: 795 Bytes

Versions: 2

Compression:

Stored size: 795 Bytes

Contents

require 'pina/models/petty_cash_item'
require 'pina/models/coercions/nested_value'

module Pina
  module Models
    class PettyCashDocument
      include Virtus.model

      attribute :created_at
      attribute :updated_at
      attribute :creator, NestedValue
      attribute :modifier, NestedValue
      attribute :items, Array[Pina::Models::PettyCashItem]
      attribute :number
      attribute :issue_date
      attribute :receipt_date
      attribute :note
      attribute :coefficient
      attribute :petty_cash, NestedValue
      attribute :department, NestedValue
      attribute :total
      attribute :contact, NestedValue
      attribute :contract, NestedValue
      attribute :vat_document
      attribute :confirmed
      attribute :status
      attribute :gid
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pina-0.15.0 lib/pina/models/petty_cash_document.rb
pina-0.14.4 lib/pina/models/petty_cash_document.rb