#素材
class ResourcePicture < Peta::Content
+ load_manifest
belongs_to :artist
belongs_to :license
belongs_to :picture
validates :classname, :presence => true, :length => {:maximum => 50}
validates :picture_id, :presence => true, :numericality => true, :existence => {:both => false}
- def self.owner_type
- :artist
- end
-
- def self.valid_encode_columns
- super + ['artist_name', 'classname', 'credit', 'settings']
- end
-
def supply_default
end