Sha256: 28e02af9816b99a3961d348605e7fe987e91e7afcd30fa6c2024f7da1cc62faf

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

module Ecom
  module Core
    class Payroll < ApplicationRecord
      validates :month, :year, presence: true

      has_many :payments, class_name: 'Ecom::Core::Payment'
      belongs_to :project
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecom_core-1.2.7 app/models/ecom/core/payroll.rb
ecom_core-1.2.6 app/models/ecom/core/payroll.rb