Activitys.php 788B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * agh_activitys(活动实例表)数据库连接model
  4. * 2018-05-08 17:58
  5. * 韩
  6. */
  7. namespace App\Models;
  8. use Illuminate\Database\Eloquent\Model;
  9. class Activitys extends Model
  10. {
  11. // public $timestamps = false; //取消框架默认的created_at时间
  12. protected $dateFormat = 'U';
  13. const CREATED_AT="create_time";
  14. const UPDATED_AT="update_time";
  15. protected $table = 'agh_activitys';
  16. // public $fillable = [
  17. // "activity_id",
  18. // "corp_id",
  19. // "title",
  20. // "logo",
  21. // "key",
  22. // "regulation",
  23. // "is_complete_set",
  24. // "status",
  25. // "is_jobtime_limit",
  26. // "jobtimes",
  27. // "start_time",
  28. // "end_time",
  29. // "auth_type",
  30. // "client_type"
  31. // ];
  32. }