1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class CoinType.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property string $coin_name 名称
- * @property string $coin_logo logo
- * @property int $status 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType query()
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereCoinLogo($value)
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereCoinName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|CoinType whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class CoinType extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|