Sha256: b4b928529d4da9d793f74a975d5da3b6d2eaed657670a437197c9c5013d0aae0

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

# Obsolescing 是废弃。
# #reason 是原因。
# #obsolesced 是被废弃的对象。
# #obsolescence_code 是废弃代码,OBSL 表示废弃, RCVR 表示恢复。

class Unidom::Action::Obsolescing < Unidom::Action::ApplicationRecord

  self.table_name = 'unidom_obsolescings'

  include Unidom::Common::Concerns::ModelExtension

  belongs_to :obsolescer_visitor, polymorphic: true
  belongs_to :obsolescer_party,   polymorphic: true
  belongs_to :obsolesced,         polymorphic: true
  belongs_to :reason,             class_name:  'Unidom::Action::Reason'

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unidom-action-0.7 app/models/unidom/action/obsolescing.rb
unidom-action-0.6 app/models/unidom/action/obsolescing.rb
unidom-action-0.5 app/models/unidom/action/obsolescing.rb
unidom-action-0.4 app/models/unidom/action/obsolescing.rb