Files
Jason Jordan 1c80e642f5
CI / scan_ruby (push) Failing after 37s
CI / lint (push) Failing after 39s
Production Build Working
2026-09-16 12:41:44 -04:00

19 lines
589 B
Ruby

module Baclight
class DocumentUpload < BaclightRecord
self.table_name = 'document_uploads'
alias_attribute :id, :id
alias_attribute :filename, :filename
alias_attribute :file_type, :file_type
alias_attribute :file_data, :file_data
alias_attribute :pl_plan_key, :pl_plan_key
alias_attribute :active, :active
alias_attribute :category_id, :category_id
alias_attribute :created_at, :created_at
alias_attribute :updated_at, :updated_at
belongs_to :document_category, class_name: "Baclight::DocumentUpload", foreign_key: "category_id"
end
end