mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
5 lines
168 B
Ruby
5 lines
168 B
Ruby
class ItemAnalysis < ApplicationRecord
|
|
belongs_to :item_bank, touch: true
|
|
validates :analysis, length: { maximum: 5000, too_long: "不能超过5000个字符" }
|
|
end
|