123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace App\Models\Common;
- use App\Models\Model;
- /**
- * App\Models\Common\FeedAlgorithmModel
- *
- * @property int $id 主键
- * @property \Illuminate\Support\Carbon $created_at 创建时间
- * @property \Illuminate\Support\Carbon $open_at 开启时间
- * @property \Illuminate\Support\Carbon $end_at 结束时间
- * @property string $name 方案名称
- * @property string|null $alias 方案别名
- * @property string $man_url 男生请求
- * @property string $woman_url 女生请求
- * @property int $rate 分配比例[0-100]
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel query()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereAlias($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereEndAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereManUrl($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereOpenAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereRate($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\FeedAlgorithmModel whereWomanUrl($value)
- * @mixin \Eloquent
- */
- class FeedAlgorithmModel extends Model
- {
- protected $table = "kdgx_fpdx_feed_algorithms";
- public const UPDATED_AT = null;
- protected $fillable = array(
- 'id',
- 'open_at',
- 'end_at',
- 'name',
- 'alias',
- 'man_url',
- 'woman_url'
- );
- protected $casts = array(
- 'open_at' => 'datetime',
- 'end_at' => 'datetime'
- );
- }
|