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.

31 lines
638 B

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