我有一个如下的scala代码
case class Employee(firstName: String, lastName: String, email: String, salary: Int)
val employee = new Employee("John", null, "john-doe@some.edu", null)
它失败并出现以下错误
error: an expression of type Null is ineligible for implicit conversion
如何将 Null 添加到 int 工资列?