# album.proto

## AlbumProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | name | string | 2 |
| optional | artistId | string | 3 |
| optional | stat | AlbumStatProto | 4 |
| repeated | tracks | AlbumTrackProto | 5 |
| optional | cachedAt | int64 | 12 |
| optional | releasedAt | int64 | 13 |
| optional | updatedAt | int64 | 14 |
| optional | isDeleted | bool | 15 |


## AlbumTrackProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |


## AlbumStatProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | tracks | int32 | 1 |
| optional | favorited | int32 | 2 |
| optional | played | int64 | 3 |


