zhandao/zero-rails

View on GitHub
app/_docs/others/model_docs/inventory.rb

Summary

Maintainability
A
0 mins
Test Coverage
# class ModelDocs::Inventory < ModelDoc
#   # v 0
#
#   belongs_to :store
#   belongs_to :good
#
#   int! :amount, :not_blank, default: 0, num: { int: true, gte: 0 }
#   attrs!
#
#   im :increase
#   im :decrease
# end