PurcheaseIn.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace app\admin\model;
  3. class PurcheaseIn extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'wsm_in_code' =>'varchar',//入库单编号
  9. 'cgdNo' =>'varchar',//采购单单号
  10. 'bnCode' =>'varchar',//bn编号
  11. 'wsm_code' =>'varchar',//入货仓库
  12. 'wsm_reaper' =>'varchar',//入货仓库收货人
  13. 'send_num' =>'int',//发货数量
  14. 'post_company' =>'varchar',//物流公司
  15. 'post_code' =>'varchar',//物流编号
  16. 'post_fee' =>'decimal',//物流费
  17. 'sendtime' =>'varchar',//发货时间
  18. 'apply_id' =>'bigint',//申请人id
  19. 'apply_name' =>'varchar',//申请人名称
  20. 'wsm_num' =>'int',//入库数量
  21. 'error_num' =>'int',//异常数量
  22. 'sendtype' =>'tinyint',//发货方式,1自提,2供应商包邮
  23. 'wait_num' =>'int',//总入库数量
  24. 'remark' =>'varchar',//备注
  25. 'is_th' =>'int',//是否有退货
  26. 'check_name' =>'varchar',//验货人名称
  27. 'checkid' =>'int',//验货人id
  28. 'status' =>'int',//入库单状态:0待发货,1待库管验货,2待仓库主管审核,3待采购主管审核,4入库完成,5待填写物流,6退货完成
  29. 'is_del' =>'int',//是否删除
  30. 'addtime' =>'datetime',//新建时间
  31. 'updatetime' =>'datetime',//更新时间
  32. ];
  33. }