1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class GrantItem.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $m_id 会员ID
- * @property int $contract_id 合约ID
- * @property float $add_money 分配数量
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem query()
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem whereAddMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem whereContractId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GrantItem whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class GrantItem extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|