InviteRelationModel.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Models;
  3. /**
  4. * App\Models\InviteRelationModel
  5. *
  6. * @property int $id 主键
  7. * @property \Illuminate\Support\Carbon $created_at 创建时间
  8. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  9. * @property int|null $deleted_at 删除时间
  10. * @property int $uid 发起邀请的用户
  11. * @property int $is_invite_uid 被邀请的用户
  12. * @property int $state 状态:1进入小程序;2完成注册
  13. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel newModelQuery()
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel newQuery()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel query()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereCreatedAt($value)
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereDeletedAt($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereId($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereIsInviteUid($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereState($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereUid($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\InviteRelationModel whereUpdatedAt($value)
  23. * @mixin \Eloquent
  24. */
  25. class InviteRelationModel extends Model
  26. {
  27. protected $table = 'kdgx_msy_invite_relation';
  28. public $dateFormat = 'U';
  29. protected $fillable = ['id', 'created_at', 'updated_at', 'uid', 'is_invite_uid', 'state'];
  30. }