InvoiceOrder.php 524 B

12345678910111213141516171819202122
  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. }