class Pettanr.StorySheet extends Peta.Leaf @singular: () -> 'StorySheet' @plural: () -> 'StorySheets' defaults: { id: null, story_id: null, sheet_id: null, t: null } has_sheet: () -> if @get('sheet_id') true else false initialize: (attr = {}, options = {}) -> super(attr, options)