module EducodeSales class SalePlan < ApplicationRecord belongs_to :business belongs_to :staff validates :business_id, presence: true validates :month, presence: true end end