12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class Contract.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $m_id m_id
- * @property int $type 类型:1:初投,2:复投
- * @property int $status 1:广播中,2:成功,3:失败
- * @property string $hash 交易hash
- * @property string $broadcast_data 交易详情
- * @property float $money 投入金额
- * @property string $error_msg 错误内容
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|Contract newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Contract newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Contract query()
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereBroadcastData($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereErrorMsg($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereHash($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property float $direct_proportion 直推比例
- * @property float $grant_proportion 均富比例
- * @property float $point_proportion 见点比例
- * @property float $dao_proportion dao比例
- * @property float $technology_proportion 技术比例
- * @property float $reveal_proportion 托底比例
- * @property float|null $parent_proportion 族谱比例
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereDaoProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereDirectProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereGrantProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereParentProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract wherePointProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereRevealProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereTechnologyProportion($value)
- * @property string|null $contract_sn 合约编号
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereContractSn($value)
- * @property float $platform_money 平台收益数量
- * @property float $indirect_proportion 间推比例
- * @property float $team_proportion 团队比例
- * @property float $common_proportion 公排比例
- * @property float $sediment_proportion 沉淀比例
- * @property float|null $agency_proportion 代币比例
- * @property int|null $is_out 是否公排出局
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereAgencyProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereCommonProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereIndirectProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereIsOut($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract wherePlatformMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereSedimentProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Contract whereTeamProportion($value)
- */
- class Contract extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|