Sha256: 0c3439c6ea5c7d964f0f4b71e2833d79e80ce4d4bb98a6eb73bf5e30f7d6acd2

Contents?: true

Size: 575 Bytes

Versions: 13

Compression:

Stored size: 575 Bytes

Contents

##
# Guest 是系统访客。

class Unidom::Visitor::Guest < Unidom::Visitor::ApplicationRecord

  self.table_name = 'unidom_guests'

  include Unidom::Common::Concerns::ModelExtension

  validates :platform_specific_identification, presence: true, length: { in: 2..self.columns_hash['platform_specific_identification'].limit }

  scope :platform_specific_identification_is, ->(platform_specific_identification) { where platform_specific_identification: platform_specific_identification }

end unless Unidom::Common::Neglection.namespace_neglected? 'Unidom::Visitor::Guest'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
unidom-visitor-2.0 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.10 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.9 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.8 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.7 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.6 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.5 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.4 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.3 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.2 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13.1 app/models/unidom/visitor/guest.rb
unidom-visitor-1.13 app/models/unidom/visitor/guest.rb
unidom-visitor-1.12.4 app/models/unidom/visitor/guest.rb