|
@@ -9,6 +9,7 @@ import lombok.EqualsAndHashCode;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -168,6 +169,13 @@ public class TourProjectGroupPurchase extends BaseModel {
|
|
|
@TableField(exist = false)
|
|
|
private TourismProject tourismProject;
|
|
|
|
|
|
+ @RelationOneToMany(
|
|
|
+ masterIdField = "id",
|
|
|
+ slaveModelClass = TourProjectGroupPurchaseProgress.class,
|
|
|
+ slaveIdField = "groupPurchaseId")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<TourProjectGroupPurchaseProgress> TourProjectGroupPurchaseProgressList;
|
|
|
+
|
|
|
// @RelationDict(
|
|
|
// masterIdField = "projectId",
|
|
|
// equalOneToOneRelationField = "tourismProject",
|