mirror of https://github.com/elunez/eladmin
Add index dict.name in Dict.java
parent
36eca397c1
commit
57d3f623dd
|
@ -18,7 +18,7 @@ import java.util.List;
|
|||
@Entity
|
||||
@Getter
|
||||
@Setter
|
||||
@Table(name="dict")
|
||||
@Table(name="dict", indexs={@Index=(name="idx_name", columnList="name")})
|
||||
public class Dict implements Serializable {
|
||||
|
||||
@Id
|
||||
|
@ -42,4 +42,4 @@ public class Dict implements Serializable {
|
|||
private List<DictDetail> dictDetails;
|
||||
|
||||
public @interface Update {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue