InvoiceOrder.php 462 B

1234567891011121314151617181920
  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 prefix = 'FH';
  12. public static $name = [
  13. 0 => '未确认',
  14. 1 => '已确认',
  15. ];
  16. const range_function = 'invoiceRange';
  17. }