ProductOutlog.php 587 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\cxinv\model;
  3. class ProductOutlog extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'order_item_id' =>'bigint',//关联明细采购单id
  9. 'product_id' =>'bigint',//商品id
  10. 'first_out_time' =>'datetime',//第一次入账
  11. 'out_time' =>'datetime',//入账时间
  12. 'num' =>'int',//入账数量
  13. 'unit_price' =>'decimal',//单价
  14. 'status' =>'tinyint',//
  15. 'apply_id' =>'int',//
  16. 'apply_name' =>'varchar',//
  17. 'create_time' =>'datetime',//
  18. ];
  19. }