CustomerDetailsModel.php 582 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: 思维定制
  5. * Date: 2019/1/19
  6. * Time: 15:44
  7. */
  8. namespace App\Models;
  9. class CustomerDetailsModel extends BaseModel
  10. {
  11. protected $table = 'customer_details';
  12. /**
  13. 主键
  14. */
  15. protected $primaryKey = 'id';
  16. //分页
  17. protected $perPage = PAGE_NUMS;
  18. /**
  19. * 可以被集体附值的表的字段
  20. *
  21. * @var string
  22. */
  23. protected $fillable = [
  24. 'agent_id',
  25. 'store_id',
  26. 'open_id',
  27. 'address',
  28. 'tips',
  29. 'comment',
  30. 'purpose_level',
  31. ];
  32. }