tp6框架的销售统计系统

Commission.php 626B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace app\model;
  3. class commission extends \think\Model
  4. {
  5. protected $schema = [
  6. 'id' => 'int',
  7. 'order_id' => 'int',
  8. 'no' => 'string',
  9. 'year' => 'int',
  10. 'month' => 'int',
  11. 'contract_no' => 'string',
  12. 'time'=> 'date',
  13. 'general_money' => 'int',
  14. 'special_money' => 'int',
  15. 'company_id' => 'int',
  16. 'company_name' => 'string',
  17. 'seller_id' => 'int',
  18. 'seller_name' => 'string',
  19. 'department_id' => 'int',
  20. 'department_name' => 'string',
  21. 'remark' => 'string',
  22. 'create_time' => 'int'
  23. ];
  24. }