DispatchSub.php 486 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. *
  6. * Class Unit
  7. * @package App\Models
  8. */
  9. class DispatchSub extends Model
  10. {
  11. protected $table = "dispatch_sub"; //指定表
  12. const CREATED_AT = 'crt_time';
  13. const UPDATED_AT = 'upd_time';
  14. protected $dateFormat = 'U';
  15. const status_zero = 0;
  16. const status_one = 1;
  17. public static $status_name = [
  18. self::status_zero => '未审核',
  19. self::status_one => '已审核',
  20. ];
  21. }