| 9 | } |
| 10 | |
| 11 | class User |
| 12 | extends Model<UserAttributes, UserCreationAttributes> |
| 13 | implements UserAttributes { |
| 14 | public id!: number; |
| 15 | public name!: string; |
| 16 | |
| 17 | public readonly projects?: Project[]; |
| 18 | public readonly address?: Address; |
| 19 | } |
| 20 | |
| 21 | interface ProjectCreationAttributes { |
| 22 | ownerId: number; |
nothing calls this directly
no outgoing calls
no test coverage detected