xhAdmin.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace common\models;
  3. /**
  4. * This is the model class for table "xhAdmin".
  5. *
  6. * @property int $id
  7. * @property string $mobile 手机号
  8. * @property string $avatar 头像
  9. * @property string $adminName 管理员姓名
  10. * @property string $password 密码
  11. * @property string $confirmPassword 确认密码
  12. * @property int $roleId 角色id
  13. * @property int $sex 性别 0未知 1男性 2女性
  14. * @property string $province 省
  15. * @property string $city 市
  16. * @property string $dist 区县
  17. * @property string $address 详细街道地址
  18. * @property string $openId 微信openid
  19. * @property string $unionId 微信unionId
  20. * @property int $subscribe 关注微信公众号 0未关注 1关注
  21. * @property string $addLong 经度
  22. * @property string $addLat 纬度
  23. * @property string $addPrecision 精度
  24. * @property string $wxQrCode 微信员微信二维码
  25. * @property int $status
  26. * @property string $createTime 创建时间
  27. * @property string $updateTime
  28. */
  29. class xhAdmin extends xhBaseModel
  30. {
  31. /**
  32. * @inheritdoc
  33. */
  34. public static function tableName()
  35. {
  36. return 'xhAdmin';
  37. }
  38. }