ThSource.php 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace app\cxinv\model;
  3. class ThSource extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'thNo' =>'varchar',//退货单号
  9. 'th_status' =>'int',//退货状态
  10. 'createtime' =>'datetime',//退货发起日期
  11. 'th_companyNo' =>'varchar',//
  12. 'th_company' =>'varchar',//公司名称
  13. 'th_user' =>'varchar',//退货人
  14. 'th_num' =>'bigint',//退货数量
  15. 'th_qrd_fee' =>'decimal',//退货销售货款
  16. 'th_cgd_fee' =>'decimal',//退货采购货款
  17. 'is_th' =>'int',//供应商是否可以退货
  18. 'th_remark' =>'varchar',//退货备注
  19. 'th_post_company' =>'varchar',//物流公司
  20. 'th_post_code' =>'varchar',//物流编号
  21. 'th_post_fee' =>'decimal',//物流费用
  22. 'th_receiver' =>'varchar',//收货人
  23. 'th_phone' =>'varchar',//收获电话
  24. 'th_mobile' =>'varchar',//电话
  25. 'th_addr' =>'varchar',//收获地址
  26. 'th_qrdNo' =>'varchar',//退货确认单编号
  27. 'th_qrdcpNo' =>'varchar',//确认单cp编号
  28. 'th_cgdNo' =>'varchar',//退货采购单编号
  29. 'addtime' =>'datetime',//
  30. ];
  31. }