MoneyDetail.php 3.1 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 MoneyDetail.
  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 int $level 佣金等级
  20. * @property \Illuminate\Support\Carbon|null $created_at
  21. * @property \Illuminate\Support\Carbon|null $updated_at
  22. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail newModelQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail newQuery()
  24. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail query()
  25. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereAddReduce($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereCreatedAt($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereId($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMark($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail wherePrice($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereRemainder($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereSourceId($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereStatus($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereType($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereUpdatedAt($value)
  36. * @mixin \Eloquent
  37. * @property int|null $shop_id 店铺ID
  38. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereShopId($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereLevel($value)
  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|MoneyDetail whereAdminMark($value)
  46. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereIsOk($value)
  47. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMarkEn($value)
  48. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail whereMemberId($value)
  49. * @method static \Illuminate\Database\Eloquent\Builder|MoneyDetail wherePhone($value)
  50. */
  51. class MoneyDetail 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. }