Assoc.php 1.0 KB

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace app\cxinv\model;
  3. class Assoc extends Base
  4. {
  5. //设置字段信息
  6. protected $schema = [
  7. 'id' =>'bigint',//
  8. 'assocNo' =>'varchar',//关联编号
  9. 'apply_id' =>'int',//操作人id
  10. 'apply_name' =>'varchar',//操作人名称
  11. 'type' =>'tinyint',//操作类型 1 单票 2 单款
  12. 'orderCode' =>'varchar',//销售订单编号
  13. 'customerNo' =>'varchar',//客户编号
  14. 'viceCode' =>'varchar',//发票编号/回款编号
  15. 'order_total' =>'decimal',//订单总金额
  16. 'vice_total' =>'decimal',//发票面额/回款金额
  17. 'cancel_fee' =>'decimal',//核销金额
  18. 'status' =>'tinyint',//核销状态 1 审核中 2 核算完成3 退款退票
  19. 'is_del' =>'tinyint',//是否删除
  20. 'exam_remark' =>'varchar',//审核备注
  21. 'assoc_time' =>'varchar',//开票时间/回款时间
  22. 'updatetime' =>'datetime',//
  23. 'addtime' =>'datetime',//
  24. ];
  25. protected $createTime = 'addtime';
  26. protected $updateTime = 'updatetime';
  27. }