Sha256: c5d115a266aee5e8c726530f9a8ab5da3bfe966ff571cee215065fd880b84695
Contents?: true
Size: 533 Bytes
Versions: 60
Compression:
Stored size: 533 Bytes
Contents
module Comee module Core class GoodsIssuedNote < ApplicationRecord belongs_to :stock_transfer_request has_many :goods_issued_items validates :gin_number, :stock_transfer_request, uniqueness: true validates :date_issued, :gin_number, presence: true def self.ransackable_attributes(_auth_object = nil) %w[gin_number date_issued stock_transfer_request_id] end def self.ransackable_associations(_auth_object = nil) %w[stock_transfer_request] end end end end
Version data entries
60 entries across 60 versions & 1 rubygems