Skip to content

Instantly share code, notes, and snippets.

@noeticpenguin
Created April 13, 2011 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noeticpenguin/917814 to your computer and use it in GitHub Desktop.
Save noeticpenguin/917814 to your computer and use it in GitHub Desktop.
property :id, Serial
# property :account, String
# property :case_comments, String #needs a new model
# property :case_milestones, String #needs a new model
property :closed_date, DateTime
property :case_number, String
property :reason, String
property :description, String
property :subject, String
property :created_date, DateTime
property :is_closed, Boolean
property :is_deleted, Boolean
property :is_escalated, Boolean
property :product, String
property :status, String
property :slaviolation, Boolean
property :sla_exit_date, DateTime
property :sla_start_date, DateTime
property :status, String
property :origin, String
property :type, String
property :supplied_company, String
property :supplied_email, String
property :supplied_name, String
property :supplied_phone, String
property :priority, String
belongs_to :asset
belongs_to :account
belongs_to :contact
has n, :caseComments, :child_key => [:parent]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment