ContractDistribution.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 ContractDistribution.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $contract_id 合约ID
  12. * @property int $m_id 会员ID
  13. * @property int $broadcast_id 广播ID
  14. * @property int $is_transition 是否转换为lk
  15. * @property float $usdt_num 清分USDT
  16. * @property float $lk_num 清分lk
  17. * @property float $lk_money lk价格
  18. * @property \Illuminate\Support\Carbon|null $created_at
  19. * @property \Illuminate\Support\Carbon|null $updated_at
  20. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution newModelQuery()
  21. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution newQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution query()
  23. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereBroadcastId($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereContractId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereIsTransition($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereLkMoney($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereLkNum($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereMId($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereUpdatedAt($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereUsdtNum($value)
  33. * @mixin \Eloquent
  34. * @property int $type 清分类型
  35. * @property int $to_m_id 收款人信息
  36. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereToMId($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereType($value)
  38. * @property float $db_money 代币数量
  39. * @property float $nbn_money bnb数量
  40. * @property float $proportion 收益比例
  41. * @property string|null $remark 备注
  42. * @property int|null $status 1:成功,0:失败,2:交易失败
  43. * @property string|null $to_address 收款地址
  44. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereDbMoney($value)
  45. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereNbnMoney($value)
  46. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereProportion($value)
  47. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereRemark($value)
  48. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereStatus($value)
  49. * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereToAddress($value)
  50. */
  51. class ContractDistribution 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. }