Sha256: 1c7dd99faa89db0ee45ce75fdcafe2bb364a1dea3305bc1230353b1c17268c2a
Contents?: true
Size: 571 Bytes
Versions: 35
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/transplants" require "document/base" module Renalware module Transplants class DonorFollowup < ApplicationRecord belongs_to :operation, class_name: "DonorOperation", foreign_key: "operation_id", touch: true has_paper_trail class_name: "Renalware::Transplants::Version" validates :last_seen_on, timeliness: { type: :date, allow_blank: true } validates :dead_on, timeliness: { type: :date, allow_blank: true } end end end
Version data entries
35 entries across 35 versions & 1 rubygems