Sha256: c0f8edda30e873529077fabb844b3a035e0e431974340d3819d44f376294ac30

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

module Xeroizer
  module Record
    module Payroll
    
      class EmployeeModel < PayrollBaseModel
          
        set_permissions :read, :write, :update
          
      end
      
      class Employee < PayrollBase
        
        set_primary_key :employee_id

        guid          :employee_id
        string        :status
        string        :title
        string        :first_name
        string        :middle_names
        string        :last_name
        date          :start_date
        string        :email
        date          :date_of_birth
        string        :gender
        string        :phone
        string        :mobile
        string        :twitter_user_name
        boolean       :is_authorised_to_approve_leave
        boolean       :is_authorised_to_approve_timesheets
        string        :occupation
        string        :classification
        guid          :ordinary_earnings_rate_id
        guid          :payroll_calendar_id
        string        :employee_group_name
        date          :termination_date
        datetime_utc  :updated_date_utc, :api_name => 'UpdatedDateUTC'
  
        belongs_to    :home_address, :internal_name_singular => "home_address", :model_name => "HomeAddress"
        has_many      :bank_accounts

      end

    end 
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xeroizer-2.20.0 lib/xeroizer/models/payroll/employee.rb
xeroizer-2.19.0 lib/xeroizer/models/payroll/employee.rb
xeroizer-2.18.1 lib/xeroizer/models/payroll/employee.rb
xeroizer-2.17.1 lib/xeroizer/models/payroll/employee.rb