class Project < ApplicationRecord belongs_to :user belongs_to :project_category has_many :contacts, through: :user has_many :tasks has_many :notes enum business_type: { type1: 0, type2: 1 } end