1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class MoneyDetails.
- *
- * @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 \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property int|null $shop_id 店铺ID
- * @property int|null $level 分拥等级 0:默认 1:一级 2:二级
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails query()
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereAddReduce($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereLevel($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMark($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails wherePrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereRemainder($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereSourceId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereUpdatedAt($value)
- * @mixin \Eloquent
- * @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|MoneyDetails whereAdminMark($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereIsOk($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMarkEn($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMemberId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails wherePhone($value)
- */
- class MoneyDetails extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|