1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class ContractDistribution.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $contract_id 合约ID
- * @property int $m_id 会员ID
- * @property int $broadcast_id 广播ID
- * @property int $is_transition 是否转换为lk
- * @property float $usdt_num 清分USDT
- * @property float $lk_num 清分lk
- * @property float $lk_money lk价格
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution query()
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereBroadcastId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereContractId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereIsTransition($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereLkMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereLkNum($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereUsdtNum($value)
- * @mixin \Eloquent
- * @property int $type 清分类型
- * @property int $to_m_id 收款人信息
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereToMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereType($value)
- * @property float $db_money 代币数量
- * @property float $nbn_money bnb数量
- * @property float $proportion 收益比例
- * @property string|null $remark 备注
- * @property int|null $status 1:成功,0:失败,2:交易失败
- * @property string|null $to_address 收款地址
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereDbMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereNbnMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereProportion($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|ContractDistribution whereToAddress($value)
- */
- class ContractDistribution extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|