mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
init project
This commit is contained in:
4
app/models/item_analysis.rb
Normal file
4
app/models/item_analysis.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemAnalysis < ApplicationRecord
|
||||
belongs_to :item_bank, touch: true
|
||||
validates :analysis, length: { maximum: 5000, too_long: "不能超过5000个字符" }
|
||||
end
|
||||
Reference in New Issue
Block a user