CoinType.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 CoinType.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property string $coin_name 名称
  12. * @property string $coin_logo logo
  13. * @property int $status 状态
  14. * @property \Illuminate\Support\Carbon|null $created_at
  15. * @property \Illuminate\Support\Carbon|null $updated_at
  16. * @method static \Illuminate\Database\Eloquent\Builder|CoinType newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|CoinType newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|CoinType query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereCoinLogo($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereCoinName($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereCreatedAt($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereStatus($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereUpdatedAt($value)
  25. * @mixin \Eloquent
  26. */
  27. class CoinType extends Model implements Transformable
  28. {
  29. use TransformableTrait;
  30. /**
  31. * The attributes that are mass assignable.
  32. *
  33. * @var array
  34. */
  35. protected $guarded = ['id', 'updated_at', 'created_at'];
  36. }