UserCompany.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace App\Models\User;
  3. use App\Base\BaseModel;
  4. /**
  5. * App\Models\User\UserCompany
  6. *
  7. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany newModelQuery()
  8. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany newQuery()
  9. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany query()
  10. * @mixin \Eloquent
  11. * @property int $id
  12. * @property int $user_id
  13. * @property string $name
  14. * @property string $tax_no 企业税号
  15. * @property int $status 1 待审核 2已审核
  16. * @property \Illuminate\Support\Carbon|null $created_at
  17. * @property \Illuminate\Support\Carbon|null $updated_at
  18. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereCreatedAt($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereId($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereName($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereStatus($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereTaxNo($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereUpdatedAt($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereUserId($value)
  25. * @property string $department
  26. * @property string $tel
  27. * @property string $address
  28. * @property string $linkman 联系人名称
  29. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereAddress($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereDepartment($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereLinkman($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|UserCompany whereTel($value)
  33. */
  34. class UserCompany extends BaseModel
  35. {
  36. const STATUS_INIT = 1;
  37. const STATUS_PASS = 2;
  38. const STATUS_FAIL = 3;
  39. protected $table = "user_company";
  40. }