SubscribeModel.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Models\Daily;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Daily\SubscribeModel
  6. *
  7. * @property int $id
  8. * @property string $openid
  9. * @property string $public_id 公众号ID
  10. * @property int $subscribe 是否订阅
  11. * @property \Illuminate\Support\Carbon $created_at
  12. * @property \Illuminate\Support\Carbon $updated_at
  13. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel newModelQuery()
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel newQuery()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel query()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel whereCreatedAt($value)
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel whereId($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel whereOpenid($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel wherePublicId($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel whereSubscribe($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Daily\SubscribeModel whereUpdatedAt($value)
  22. * @mixin \Eloquent
  23. */
  24. class SubscribeModel extends Model
  25. {
  26. //
  27. protected $table = 'daily_subscribe';
  28. public $dateFormat = 'U';
  29. protected $fillable = ['openid', 'public_id', 'subscribe'];
  30. }