Sha256: 6022fa56adc0eadd5918c43cd2cba9c3da32bbd50d9211a2aa464c3511e12a59

Contents?: true

Size: 200 Bytes

Versions: 1

Compression:

Stored size: 200 Bytes

Contents

module Ecom::Core
  class Payment < ApplicationRecord
    belongs_to :payroll
    has_many :payment_details, class_name: 'Ecom::Core::PaymentDetail'
    validates :from, :to, presence: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.0.14 app/models/ecom/core/payment.rb