Commit f7b3907e by ivan Lan

Improve annotate in model

parent 6072cd27
......@@ -6,7 +6,7 @@ module Shotengai
# id :integer not null, primary key
# title :string(255)
# status :string(255)
# spec :json
# spec_template :json
# default_series_id :integer
# need_express :boolean
# need_time_attr :boolean
......@@ -19,7 +19,8 @@ module Shotengai
# manager_type :string(255)
# created_at :datetime not null
# updated_at :datetime not null
# remark :json
# remark_template :json
# info_template :json
#
# Indexes
#
......
......@@ -7,13 +7,15 @@ module Shotengai
# original_price :decimal(9, 2)
# price :decimal(9, 2)
# stock :integer default(-1)
# aasm_state :string(255)
# spec :json
# spec_value :json
# type :string(255)
# meta :json
# shotengai_product_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# aasm_state :string(255)
# remark_value :json
# info_value :json
#
# Indexes
#
......
......@@ -9,7 +9,7 @@ module Shotengai
# price :decimal(9, 2)
# revised_amount :decimal(9, 2)
# count :integer
# spec :json
# spec_value :json
# banners :json
# cover_image :string(255)
# detail :json
......@@ -21,6 +21,8 @@ module Shotengai
# updated_at :datetime not null
# manager_type :string(255)
# manager_id :integer
# remark_value :json
# info_value :json
#
# Indexes
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment