tp6框架的销售统计系统

Order.php 538B

123456789101112131415161718192021222324
  1. <?php
  2. namespace app\model;
  3. class Order extends \think\Model
  4. {
  5. protected $schema = [
  6. 'id' => 'int',
  7. 'no' => 'string',
  8. 'contract_no' => 'string',
  9. 'contract_time' => 'date',
  10. 'company_id' => 'int',
  11. 'seller_id' => 'int',
  12. 'consignor' => 'string',
  13. 'fare' => 'int',
  14. 'agency' => 'int',
  15. 'pay_type'=> "string",
  16. 'payment'=> 'int',
  17. 'pay_time'=> 'date',
  18. 'remark' => 'string',
  19. 'status' => 'int',
  20. 'create_time' => 'int'
  21. ];
  22. }