app/models/unidom/party/company.rb in unidom-party-1.7 vs app/models/unidom/party/company.rb in unidom-party-1.7.1
- old
+ new
@@ -1,7 +1,7 @@
# Company 是公司。
-class Unidom::Party::Company < ActiveRecord::Base
+class Unidom::Party::Company < Unidom::Party::ApplicationRecord
self.table_name = 'unidom_companies'
include Unidom::Common::Concerns::ModelExtension
include Unidom::Party::Concerns::AsSourceParty