gallery/app/models/album_crop.rb

8 lines
193 B
Ruby
Raw Normal View History

class AlbumCrop
include Mongoid::Document
field :crop_x, type: String
field :crop_y, type: String
field :crop_w, type: String
field :crop_h, type: String
belongs_to :album_image
end