JigsawFlowModel.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace App\Models\Welfare;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Welfare\JigsawFlowModel
  6. *
  7. * @property int $id
  8. * @property int $uid
  9. * @property string $source 来源
  10. * @property int $amount 数量
  11. * @property int $remains_amount 剩余数量
  12. * @property int $used_at
  13. * @property int $expired_at
  14. * @property \Illuminate\Support\Carbon $created_at
  15. * @property \Illuminate\Support\Carbon $updated_at
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereAmount($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereCreatedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereExpiredAt($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereRemainsAmount($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereSource($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereUid($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereUpdatedAt($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\JigsawFlowModel whereUsedAt($value)
  28. * @mixin \Eloquent
  29. */
  30. class JigsawFlowModel extends Model
  31. {
  32. //
  33. protected $table = "kdgx_fpdx_welfare_jigsaw_flows";
  34. protected $dateFormat = 'U';
  35. public $fillable = ['uid', 'source', 'amount', 'remains_amount', 'used_at', 'expired_at'];
  36. }