16 lines
414 B
Java
16 lines
414 B
Java
package com.baeldung.reladomo;
|
|
|
|
public class Department extends DepartmentAbstract {
|
|
public Department() {
|
|
super();
|
|
// You must not modify this constructor. Mithra calls this internally.
|
|
// You can call this constructor. You can also add new constructors.
|
|
}
|
|
|
|
public Department(long id, String name) {
|
|
super();
|
|
this.setId(id);
|
|
this.setName(name);
|
|
}
|
|
}
|