Sha256: 182cbc0420f0385f74bf0f9107476b67d4a9df6c25827197ff97b743228dd6bf

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

module Ecom
  module Core
    class PaymentDetail < ApplicationRecord
      belongs_to :crew
      belongs_to :payment

      validates :hours, :ot_hours, :base_salary, :overtime, :gross_salary, :tax, :pension, :net_salary, presence: true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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