PurcheaseBack.php 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\admin\model;
  3. class PurcheaseBack extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'returnCode' =>'varchar',//采购退货单
  9. 'cgdNo' =>'varchar',//采购单号
  10. 'apply_id' =>'int',//申请人id
  11. 'apply_name' =>'varchar',//申请人名称
  12. 'return_num' =>'int',//退货数量
  13. 'good_code' =>'varchar',//商品编号
  14. 'good_name' =>'varchar',//商品名称
  15. 'good_catid' =>'int',//商品分类id
  16. 'good_price' =>'decimal',//商品单价
  17. 'good_total' =>'decimal',//退货总价
  18. 'post_company' =>'varchar',//物流公司
  19. 'post_code' =>'varchar',//物流编号
  20. 'post_fee' =>'decimal',//物流费
  21. 'status' =>'int',//z状态
  22. 'remark' =>'varchar',//备注
  23. 'is_del' =>'int',//是否删除
  24. 'addtime' =>'datetime',//
  25. 'updatetime' =>'datetime',//
  26. ];
  27. }