WithdrawConfig.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 WithdrawConfig.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $coin_id 货币类型
  12. * @property float $mix_money
  13. * @property float $proportion
  14. * @property float $auto_money
  15. * @property float $auto_day
  16. * @property float $auto_num
  17. * @property \Illuminate\Support\Carbon|null $created_at
  18. * @property \Illuminate\Support\Carbon|null $updated_at
  19. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig newModelQuery()
  20. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig newQuery()
  21. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig query()
  22. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereCoinId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereCreatedAt($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereMixMoney($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereProportion($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereUpdatedAt($value)
  28. * @mixin \Eloquent
  29. * @property int|null $type 1:固定金额,2:比列
  30. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereType($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereAutoDay($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereAutoMoney($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|WithdrawConfig whereAutoNum($value)
  34. */
  35. class WithdrawConfig 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. }