mirror of https://github.com/elunez/eladmin
parent
800571e581
commit
1d37221908
|
@ -19,7 +19,8 @@ import java.util.Set;
|
|||
@Entity
|
||||
@Getter
|
||||
@Setter
|
||||
@Table(name="dept")
|
||||
@Table(name="dept",
|
||||
indexes={@Index(name = "dept_pid", columnList = "pid")})
|
||||
public class Dept implements Serializable {
|
||||
|
||||
@Id
|
||||
|
@ -66,4 +67,4 @@ public class Dept implements Serializable {
|
|||
public int hashCode() {
|
||||
return Objects.hash(id, name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue