摘要: 还有半个小时下班,写点今天做的功能,打发打发时间. 两个类,订单类和序列号类. 订单类 1 class GroupOrder 2 include Mongoid::Document 3 include Mongoid::Timestamps 4 5 field :order_code, type: String 6 field :cellphone_num, type: String 7 field :quantity, type: Integer 8 field :state, type: String 9 10 has_many :verify_s... 阅读全文
posted @ 2014-02-26 18:21 wangyuyu 阅读(675) 评论(0) 推荐(0) 编辑