shotengai_orders.rb 902 Bytes
Newer Older
ivan Lan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
# == Schema Information
#
# Table name: shotengai_orders
#
#  id              :integer          not null, primary key
#  seq             :integer
#  address         :string(255)
#  pay_time        :datetime
#  delivery_time   :datetime
#  receipt_time    :datetime
#  delivery_way    :string(255)
#  delivery_cost   :string(255)
#  merchant_remark :text(65535)
#  mark            :string(255)
#  customer_remark :text(65535)
#  status          :string(255)
#  type            :string(255)
#  meta            :json
#  buyer_id        :integer
#  buyer_type      :string(255)
#  created_at      :datetime         not null
#  updated_at      :datetime         not null
#
# Indexes
#
#  index_shotengai_orders_on_buyer_id_and_buyer_type  (buyer_id,buyer_type)
#  index_shotengai_orders_on_type                     (type)
#

FactoryGirl.define do
31
  factory :order, class_name: '<%= @order %>' do
ivan Lan committed
32 33 34

  end
end