InvoiceOrder.php 570 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App\Model;
  3. class InvoiceOrder extends UseScopeBaseModel
  4. {
  5. protected $table = "invoice_order"; //指定表
  6. const CREATED_AT = 'crt_time';
  7. const UPDATED_AT = 'upd_time';
  8. protected $dateFormat = 'U';
  9. const STATE_ZERO = 0;//未确认
  10. const STATE_ONE = 1;//待确认
  11. const STATE_TWO = 2;//已确认
  12. const prefix = 'FH';
  13. public static $name = [
  14. 0 => '未确认',
  15. 1 => '待确认',
  16. 2 => '已确认',
  17. ];
  18. const range_function = 'invoiceRange';
  19. const is_check_function = 'invoiceCheck';
  20. }