|
|
@@ -29,7 +29,9 @@ import java.util.Set;
|
|
|
@Table(indexes = {
|
|
|
@Index(columnList = "phone"),
|
|
|
@Index(columnList = "collectionId"),
|
|
|
- @Index(columnList = "collectionInvitor")
|
|
|
+ @Index(columnList = "collectionInvitor"),
|
|
|
+ @Index(columnList = "admin"),
|
|
|
+ @Index(columnList = "minter"),
|
|
|
})
|
|
|
@AllArgsConstructor
|
|
|
@NoArgsConstructor
|
|
|
@@ -138,4 +140,5 @@ public class User extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty("优先购买")
|
|
|
private int vipPurchase;
|
|
|
|
|
|
+ private boolean minter;
|
|
|
}
|