forgeplus/app/models/weapp_settings/carousel.rb

17 lines
431 B
Ruby
Raw Normal View History

2020-11-23 15:35:03 +08:00
# == Schema Information
#
# Table name: weapp_settings
#
# id :integer not null, primary key
# type :string(255)
# link :string(255)
# online :boolean default("0")
# position :integer default("0")
# created_at :datetime not null
# updated_at :datetime not null
#
2020-03-09 00:40:16 +08:00
class WeappSettings::Carousel < WeappSetting
default_scope { order(position: :asc) }
2020-11-23 15:35:03 +08:00
end