You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
613 B

  1. <?php
  2. namespace App\Model;
  3. class ServiceEvaluate extends Model
  4. {
  5. /**
  6. * @var string table name
  7. */
  8. protected $table = 'lanzu_service_evaluate';
  9. /**
  10. * @var array 允许插入的属性
  11. */
  12. protected $fillable = ['user_id', 'user_created_at', 'service_personnel_id', 'market_id', 'c_attitude', 'c_service', 'c_quality', 'c_average', 'content', 'is_new_user'];
  13. /**
  14. * 默认值
  15. */
  16. protected $attributes = [];
  17. /**
  18. *
  19. */
  20. protected $casts = [
  21. 'created_at' => 'datetime:Y-m-d h:i:s',
  22. 'updated_at' => 'datetime:Y-m-d h:i:s',
  23. ];
  24. }