GrantPond.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class GrantPond.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property float $grand_total 累计LK数量
  12. * @property float $average_money 平均数量
  13. * @property int $status 1:累计中,2:待分发,3:已完成
  14. * @property int $total_num 平均总人数
  15. * @property string $pond_sn 分发编号
  16. * @property string $distribute_date 分发时间
  17. * @property string $end_date 累计结束时间
  18. * @property \Illuminate\Support\Carbon|null $created_at
  19. * @property \Illuminate\Support\Carbon|null $updated_at
  20. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond newModelQuery()
  21. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond newQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond query()
  23. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereAverageMoney($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereCreatedAt($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereDistributeDate($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereEndDate($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereGrandTotal($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond wherePondSn($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereStatus($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereTotalNum($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|GrantPond whereUpdatedAt($value)
  33. * @mixin \Eloquent
  34. */
  35. class GrantPond extends Model implements Transformable
  36. {
  37. use TransformableTrait;
  38. /**
  39. * The attributes that are mass assignable.
  40. *
  41. * @var array
  42. */
  43. protected $guarded = ['id', 'updated_at', 'created_at'];
  44. }