PurcheaseFeedback.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace app\admin\model;
  3. class PurcheaseFeedback extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'bkcode' =>'varchar',//申请单号
  9. 'wsm_type' =>'tinyint',//仓库类型 1系统仓2虚拟仓3自建仓
  10. 'warehouse' =>'varchar',//入货仓库
  11. 'num' =>'int',//采购数量上限
  12. 'expecttime' =>'datetime',//预计入库时间
  13. 'supplier' =>'varchar',//供货商
  14. 'good_price' =>'decimal',//采购单价
  15. 'pakge_fee' =>'decimal',//包装费
  16. 'cert_fee' =>'decimal',//证书费
  17. 'open_fee' =>'decimal',//开模费
  18. 'delivery_fee' =>'decimal',//物流覅
  19. 'mark_fee' =>'decimal',//加标费
  20. 'teach_fee' =>'decimal',//工艺费
  21. 'nake_fee' =>'decimal',//裸价费
  22. 'demo_fee' =>'decimal',//打样费
  23. 'remark' =>'varchar',//反馈备注
  24. 'weight' =>'decimal',//贵金属重量
  25. 'diff_weight' =>'decimal',//误差重量
  26. 'diff_price' =>'decimal',//工差金额
  27. 'purchaser' =>'varchar',//采购员
  28. 'purchaser_id' =>'bigint',//采购员id
  29. 'status' =>'int',//状态0未确定 1采用2未采用
  30. 'is_del' =>'int',//是否删除
  31. 'addtime' =>'datetime',//新建时间
  32. 'updatetime' =>'datetime',//更新时间
  33. ];
  34. }