1234567891011121314151617181920 |
- <?php
- namespace app\cxinv\model;
- class ProductOutlog extends Base
- {
- //设置字段信息
- protected $schema = [
- 'id' =>'bigint',//
- 'order_item_id' =>'bigint',//关联明细采购单id
- 'product_id' =>'bigint',//商品id
- 'first_out_time' =>'datetime',//第一次入账
- 'out_time' =>'datetime',//入账时间
- 'num' =>'int',//入账数量
- 'unit_price' =>'decimal',//单价
- 'status' =>'tinyint',//
- 'apply_id' =>'int',//
- 'apply_name' =>'varchar',//
- 'create_time' =>'datetime',//
- ];
- }
|