mirror of https://github.com/elunez/eladmin
Add Index on Dept.pid in Dept.java
parent
a62b017a02
commit
7c81232e63
|
@ -19,7 +19,8 @@ import java.util.Set;
|
||||||
@Entity
|
@Entity
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@Table(name="dept")
|
@Table(name="dept",
|
||||||
|
indexs={@Index(name="idx_pid",columnList="pid")})
|
||||||
public class Dept implements Serializable {
|
public class Dept implements Serializable {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
|
Loading…
Reference in New Issue