Sha256: 993392692d1931ef6eba174faed3e8e16a8bffaf980b3768b4e14b7beddd4dba
Contents?: true
Size: 477 Bytes
Versions: 16
Compression:
Stored size: 477 Bytes
Contents
module Ecom module Core class LookaheadPlanHistory < ApplicationRecord belongs_to :lookahead_plan belongs_to :task validates_with DateRangeValidator validates :lookahead_plan_id, :lookahead_plan, :task_id, :task, :start_date, :end_date, :lookahead_plan_revision_number, presence: true validates_numericality_of :lookahead_plan_revision_number, greater_than_or_equal_to: 0 end end end
Version data entries
16 entries across 16 versions & 1 rubygems