Sha256: a52ce7e112c1de0e7f7c2f8ff0bbc79c4b4d35920ae87811dcc6d7fa2df90236
Contents?: true
Size: 499 Bytes
Versions: 6
Compression:
Stored size: 499 Bytes
Contents
# State Transition 是状态迁移。 # #reason 是原因。 # #subject 是状态的主体。 class Unidom::Action::StateTransition < Unidom::Action::ApplicationRecord self.table_name = 'unidom_state_transitions' include Unidom::Common::Concerns::ModelExtension belongs_to :transitor_visitor, polymorphic: true belongs_to :transitor_party, polymorphic: true belongs_to :subject, polymorphic: true belongs_to :reason, class_name: 'Unidom::Action::Reason' end
Version data entries
6 entries across 6 versions & 1 rubygems