InviteModel.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace App\Models\Fpdx;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Fpdx\InviteModel
  6. *
  7. * @property int $id
  8. * @property int $uid
  9. * @property int $pair_id 报名id
  10. * @property string $invite_uid 邀请用户
  11. * @property int $create_at 时间
  12. * @property int $state 是否退款:0,邀请加成功率;1,分享退费;2:无效邀请
  13. * @property int $stage_id
  14. * @property float $dis_score 折扣比例
  15. * @property string|null $comment 留言
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereComment($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereCreateAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereDisScore($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereInviteUid($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel wherePairId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereStageId($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereState($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\InviteModel whereUid($value)
  28. * @mixin \Eloquent
  29. */
  30. class InviteModel extends Model
  31. {
  32. protected $table = "kdgx_partner_charge_fpdx_invite";
  33. public $timestamps = false;
  34. protected $fillable = [
  35. 'id',
  36. 'uid',
  37. 'pair_id',
  38. 'invite_uid',
  39. 'create_at',
  40. 'state',
  41. 'stage_id',
  42. 'dis_score',
  43. 'comment'
  44. ];
  45. }