OWASP/railsgoat

View on GitHub
app/models/schedule.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
class Schedule < ApplicationRecord
  belongs_to :paid_time_off

  validates_presence_of :date_begin, :date_end, :event_desc, :event_name, :event_type
end