Invest.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 Invest.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property string $title 投资名称
  12. * @property float $invest_money 投入金额
  13. * @property \Illuminate\Support\Carbon|null $created_at
  14. * @property \Illuminate\Support\Carbon|null $updated_at
  15. * @method static \Illuminate\Database\Eloquent\Builder|Invest newModelQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|Invest newQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|Invest query()
  18. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereCreatedAt($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereId($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereInvestMoney($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereTitle($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereUpdatedAt($value)
  23. * @mixin \Eloquent
  24. * @property float $direct_proportion 直推比例
  25. * @property float $grant_proportion 均富比例
  26. * @property float $point_proportion 见点比例
  27. * @property float $dao_proportion dao比例
  28. * @property float $technology_proportion 技术比例
  29. * @property float $reveal_proportion 托底比例
  30. * @property float|null $parent_proportion 族谱比例
  31. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereDaoProportion($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereDirectProportion($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereGrantProportion($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereParentProportion($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|Invest wherePointProportion($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereRevealProportion($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereTechnologyProportion($value)
  38. * @property float $platform_money 平台收益数量
  39. * @property float $indirect_proportion 间推比例
  40. * @property float $team_proportion 团队比例
  41. * @property float $common_proportion 公排比例
  42. * @property float $sediment_proportion 沉淀比例
  43. * @property float|null $agency_proportion 代币比例
  44. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereAgencyProportion($value)
  45. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereCommonProportion($value)
  46. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereIndirectProportion($value)
  47. * @method static \Illuminate\Database\Eloquent\Builder|Invest wherePlatformMoney($value)
  48. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereSedimentProportion($value)
  49. * @method static \Illuminate\Database\Eloquent\Builder|Invest whereTeamProportion($value)
  50. */
  51. class Invest 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. }