|
@@ -4,7 +4,6 @@ import lombok.AllArgsConstructor;
|
|
|
import lombok.Builder;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
-import org.nutz.dao.entity.annotation.Column;
|
|
|
import org.nutz.dao.entity.annotation.PK;
|
|
|
import org.nutz.dao.entity.annotation.Table;
|
|
|
|
|
@@ -25,7 +24,7 @@ import java.time.LocalDate;
|
|
|
@AllArgsConstructor
|
|
|
@Builder
|
|
|
@Table(AdsGameDayAgainNature.TABLE_NAME)
|
|
|
-@PK({"dt", "agentId", "pitcherId", "accountId", "sourceSystem"})
|
|
|
+@PK({"dt", "agentId", "pitcherId", "accountId", "sourceSystem", "pitcherId", "gameId", "gameName"})
|
|
|
public class AdsOverallSummaryGame implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
public static final String TABLE_NAME = "ads_overall_summary_game";
|
|
@@ -58,19 +57,16 @@ public class AdsOverallSummaryGame implements Serializable {
|
|
|
/**
|
|
|
* 投手名字
|
|
|
*/
|
|
|
- @Column
|
|
|
private Long pitcherName;
|
|
|
|
|
|
/**
|
|
|
* 游戏ID
|
|
|
*/
|
|
|
- @Column
|
|
|
private Long gameId;
|
|
|
|
|
|
/**
|
|
|
* 游戏名称
|
|
|
*/
|
|
|
- @Column
|
|
|
private Long gameName;
|
|
|
|
|
|
}
|