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
|
||||
@Getter
|
||||
@Setter
|
||||
@Table(name="dept")
|
||||
@Table(name="dept",
|
||||
indexs={@Index(name="idx_pid",columnList="pid")})
|
||||
public class Dept implements Serializable {
|
||||
|
||||
@Id
|
||||
|
|
Loading…
Reference in New Issue