SystemUser.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. namespace app\model\system;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $goup_id
  7. * @property string $username 用户名
  8. * @property string $truename 真实姓名
  9. * @property string $password 密码
  10. * @property mixed $salt 密钥串
  11. * @property string $contact_name
  12. * @property string $contact_mobile
  13. * @property integer $status 状态
  14. * @property integer $is_deleted 删除状态
  15. * @property integer $is_super
  16. * @property string $remark 备注
  17. * @property string $login_ip 登录IP
  18. * @property mixed $login_at 登录时间
  19. * @property integer $login_num
  20. * @property string $create_ip
  21. * @property mixed $updated_at 更新时间
  22. * @property mixed $create_at 创建时间
  23. */
  24. class SystemUser extends Model
  25. {
  26. /**
  27. * The connection name for the model.
  28. *
  29. * @var string|null
  30. */
  31. protected $connection = 'mysql';
  32. /**
  33. * The table associated with the model.
  34. *
  35. * @var string
  36. */
  37. protected string $table = "system_user";
  38. /**
  39. * The primary key associated with the table.
  40. *
  41. * @var string
  42. */
  43. protected string $primaryKey = "id";
  44. /**
  45. * Indicates if the model should be timestamped.
  46. *
  47. * @var bool
  48. */
  49. public bool $timestamps = false;
  50. }