1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/models/passport_map.rb
2019-03-27 01:40:53 +05:00

21 lines
423 B
Ruby

# frozen_string_literal: true
class PassportMap < ApplicationRecord
include Nameable
################
# Associations #
################
belongs_to :passport
###############
# Validations #
###############
validates :series, presence: true
validates :number, presence: true
validates :issued_by, presence: true
validates :unit_code, presence: true
validates :date_of_issue, presence: true
end