AlbumManufacturerModel.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. namespace App\Models;
  3. use App\Models\BaseModel;
  4. /**
  5. * @description 系统设置
  6. * @author system;
  7. * @version 1.0
  8. * @date 2018-05-14 13:30:36
  9. *
  10. */
  11. class AlbumManufacturerModel extends BaseModel
  12. {
  13. /**
  14. * 数据表名
  15. *
  16. * @var string
  17. *
  18. */
  19. protected $table = 'album_manufacturer';
  20. /**
  21. * 主键
  22. */
  23. protected $primaryKey = 'id';
  24. //分页
  25. protected $perPage = PAGE_NUMS;
  26. /**
  27. * 可以被集体附值的表的字段
  28. *
  29. * @var string
  30. */
  31. protected $fillable = [
  32. 'app_id',
  33. 'app_secret',
  34. 'banner',
  35. 'logo',
  36. 'service_app_secret',
  37. 'service_app_id',
  38. 'goods_app_id',
  39. 'xyx_id',
  40. 'xyx_secret',
  41. 'store_id',
  42. 'name',
  43. 'illustrated_name',
  44. 'avatar',
  45. 'phone',
  46. 'address',
  47. 'lng',
  48. 'is_audit',
  49. 'lat',
  50. 'background_pic',
  51. 'advertising_pic',
  52. 'furniture_ads_pic',
  53. 'notice',
  54. 'notice_icon',
  55. 'show_notice',
  56. 'print_no',
  57. 'print_key',
  58. 'redirectapp',
  59. 'print_type',
  60. 'getPhone',
  61. 'getFocus'
  62. ];
  63. }