Created
November 5, 2012 20:47
-
-
Save TrevorS/4020251 to your computer and use it in GitHub Desktop.
Current InternalRecord Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# == Schema Information | |
# | |
# Table name: internal_records | |
# | |
# id :integer not null, primary key | |
# error_status :string(2) | |
# creation_date :datetime | |
# direction :string(2) | |
# technology :string(4) | |
# calling_ton :integer | |
# calling_npi :integer | |
# calling_mdn :string(32) | |
# called_ton :integer | |
# called_npi :integer | |
# called_mdn :string(32) | |
# eid :string(25) | |
# imsi_min :string(15) | |
# billed_mdn :string(32) | |
# celltower :string(12) | |
# call_end_reason :integer | |
# caller_id :string(32) | |
# caller_id_block :boolean | |
# timestamp_end :datetime | |
# timestamp_connect :datetime | |
# timestamp_ring :datetime | |
# description :string(30) | |
# dst_country_numeric :string(10) | |
# dst_country_alpha :string(3) | |
# dst_dialed :string(32) | |
# duration_ring :integer | |
# duration_connect :integer | |
# sequence_no :string(20) | |
# home_pmn :string(5) | |
# home_sid :string(5) | |
# served_pmn :string(5) | |
# served_sid :string(5) | |
# service_feature :string(2) | |
# switch_file :string(10) | |
# timezone_incr_done :boolean | |
# trunk_group_incoming :string(10) | |
# trunk_group_outgoing :string(10) | |
# timezone_offset :integer | |
# mscid :string(20) | |
# lac :string(5) | |
# switch_name :string(4) | |
# created_at :datetime not null | |
# updated_at :datetime not null | |
# | |
class InternalRecord < ActiveRecord::Base | |
attr_accessible :id, :error_status, :creation_date, :direction, :technology, :calling_ton, :calling_npi, :calling_mdn, | |
:called_ton, :called_npi, :called_mdn, :eid, :imsi_min, :billed_mdn, :celltower, :call_end_reason, :caller_id, | |
:caller_id_block, :timestamp_end, :timestamp_connect, :timestamp_ring, :description, :dst_country_numeric, | |
:dst_country_alpha, :dst_dialed, :duration_ring, :duration_connect, :sequence_no, :home_pmn, :home_sid, | |
:served_pmn, :served_sid, :service_feature, :switch_file, :timezone_incr_done, :trunk_group_incoming, | |
:trunk_group_outgoing, :timezone_offset, :mscid, :lac, :switch_name | |
# For will_paginate | |
self.per_page = 15 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment