**Menyimpan user baru:**

```js
const User = require('./User');

const user = new User(123456, 'John Doe', 'Laki-laki', 5, 'Teknik Informatika', 'Fakultas Bisnis', 'Jl. Raya No. 123', 'johndoe@example.com', '081234567890', 'password', null, 1);

await user.save();
```

**Mengambil semua user:**

```js
const User = require('./User');

const users = await User.find();

console.log(users);
```

**Mengambil user berdasarkan nomor_induk:**

```js
const User = require('./User');

const users = await User.findById(123456);

console.log(users);
```

**Mengupdate satu bidang user berdasarkan nomor_induk:**

```js
const User = require('./User');

const users = await User.findById(2203015148);
users.nama = "Abdul Mufid";

await User.findByIdAndUpdate(2203015148, users);
```

**Mengupdate semua bidang user berdasarkan nomor_induk:**

```js
const User = require('./User');

const updatedUser = {
  nama: 'Jane Doe',
  jenis_kelamin: 'Perempuan',
  semester: 6,
  ...
};

await User.findByIdAndUpdate(123456, updatedUser);
```

**Menghapus user berdasarkan nomor_induk:**

```js
const User = require('./User');

await User.findByIdAndDelete(123456);
```