1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class MoneyDetail.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $type 货币类型;具体参看MoneyDetailServer类型属性
- * @property int $status 来源; 具体参看MoneyDetailServer类型属性
- * @property string $price
- * @property string $remainder
- * @property int $add_reduce 1:增加; 2:减少;
- * @property string|null $mark 备注;(系统备注)
- * @property int $m_id 被操作人ID
- * @property int $source_id 数据来源ID
- * @property int $level 佣金等级
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail query()
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereAddReduce($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMark($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail wherePrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereRemainder($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereSourceId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property int|null $shop_id 店铺ID
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereLevel($value)
- * @property string|null $admin_mark 备注(管理员备注)(数目变化)
- * @property int $member_id 被操作人ID
- * @property string|null $phone 被操作人账号
- * @property string|null $mark_en 英文备注
- * @property int|null $is_ok 是否结算完成
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereAdminMark($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereIsOk($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMarkEn($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMemberId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail wherePhone($value)
- */
- class MoneyDetail extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|