PrizeModel.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace App\Models\Welfare;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Welfare\PrizeModel
  6. *
  7. * @property int $id
  8. * @property int $uid
  9. * @property string $name
  10. * @property string $weixin
  11. * @property int $state
  12. * @property string $title
  13. * @property string $cost
  14. * @property string $cover_url
  15. * @property \Illuminate\Support\Carbon $created_at 创建时间
  16. * @property \Illuminate\Support\Carbon $updated_at 修改时间
  17. * @property int $deleted_at 删除时间
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel newModelQuery()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel newQuery()
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel query()
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereCost($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereCoverUrl($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereCreatedAt($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereDeletedAt($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereId($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereName($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereState($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereTitle($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereUid($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereUpdatedAt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\PrizeModel whereWeixin($value)
  32. * @mixin \Eloquent
  33. */
  34. class PrizeModel extends Model
  35. {
  36. //
  37. protected $table = "kdgx_fpdx_welfare_prizes";
  38. protected $dateFormat = 'U';
  39. public $fillable = [
  40. 'uid',
  41. 'state',
  42. 'title',
  43. 'cost',
  44. 'cover_url',
  45. 'price',
  46. 'count',
  47. 'name',
  48. 'weixin',
  49. 'receive_explain',
  50. 'deleted_at'
  51. ];
  52. }