|
|
|
@ -12,9 +12,9 @@ import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import org.springframework.data.mongodb.core.index.Indexed;
|
|
|
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -25,7 +25,7 @@ import javax.persistence.Table;
|
|
|
|
|
* @Modify :
|
|
|
|
|
**/
|
|
|
|
|
@Data
|
|
|
|
|
@Entity
|
|
|
|
|
@Document
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|