mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
9 lines
233 B
Ruby
9 lines
233 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RepositoryLedgerRecord < ApplicationRecord
|
|
auto_strip_attributes :comment
|
|
|
|
belongs_to :repository_stock_value, optional: true
|
|
belongs_to :reference, polymorphic: true
|
|
belongs_to :user
|
|
end
|