Sha256: 1e1e63dfba55c45911e9269c0f2d2c28ff0577d4f92773a0e102ca9c0b964f8a

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

# == Schema Information
#
# Table name: location_emails
#
#  id                  :integer          not null, primary key
#  company_location_id :integer
#  title_translations  :hstore           default({})
#  notes_translations  :hstore           default({})
#  email             :string(255)
#  created_at          :datetime
#  updated_at          :datetime
#

class LocationEmail < ActiveRecord::Base
  validates :email, presence: true
  translates :title, :notes

  belongs_to :company_location
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/models/location_email.rb