MemberCoins.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 MemberCoins.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $m_id m_id
  12. * @property int $coin_id coin_id
  13. * @property string $coin_name 币名
  14. * @property float $num 余额
  15. * @property float $lock_num 锁定数量
  16. * @property string $address address
  17. * @property string $private
  18. * @property string $code_img
  19. * @property \Illuminate\Support\Carbon|null $created_at
  20. * @property \Illuminate\Support\Carbon|null $updated_at
  21. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins newModelQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins newQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins query()
  24. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereAddress($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereCodeImg($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereCoinId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereCoinName($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereCreatedAt($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereId($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereLockNum($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereMId($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereNum($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins wherePrivate($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|MemberCoins whereUpdatedAt($value)
  35. * @mixin \Eloquent
  36. */
  37. class MemberCoins extends Model implements Transformable
  38. {
  39. use TransformableTrait;
  40. /**
  41. * The attributes that are mass assignable.
  42. *
  43. * @var array
  44. */
  45. protected $guarded = ['id', 'updated_at', 'created_at'];
  46. }