MoneyDetails.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 MoneyDetails.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $type 货币类型;具体参看MoneyDetailServer类型属性
  12. * @property int $status 来源; 具体参看MoneyDetailServer类型属性
  13. * @property string $price
  14. * @property string $remainder
  15. * @property int $add_reduce 1:增加; 2:减少;
  16. * @property string|null $mark 备注;(系统备注)
  17. * @property int $m_id 被操作人ID
  18. * @property int $source_id 数据来源ID
  19. * @property \Illuminate\Support\Carbon|null $created_at
  20. * @property \Illuminate\Support\Carbon|null $updated_at
  21. * @property int|null $shop_id 店铺ID
  22. * @property int|null $level 分拥等级 0:默认 1:一级 2:二级
  23. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails newModelQuery()
  24. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails newQuery()
  25. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails query()
  26. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereAddReduce($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereCreatedAt($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereLevel($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMId($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMark($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails wherePrice($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereRemainder($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereShopId($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereSourceId($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereStatus($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereType($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereUpdatedAt($value)
  39. * @mixin \Eloquent
  40. * @property string|null $admin_mark 备注(管理员备注)(数目变化)
  41. * @property int $member_id 被操作人ID
  42. * @property string|null $phone 被操作人账号
  43. * @property string|null $mark_en 英文备注
  44. * @property int|null $is_ok 是否结算完成
  45. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereAdminMark($value)
  46. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereIsOk($value)
  47. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMarkEn($value)
  48. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails whereMemberId($value)
  49. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetails wherePhone($value)
  50. */
  51. class MoneyDetails extends Model implements Transformable
  52. {
  53. use TransformableTrait;
  54. /**
  55. * The attributes that are mass assignable.
  56. *
  57. * @var array
  58. */
  59. protected $guarded = ['id', 'updated_at', 'created_at'];
  60. }