ISBets21MAUBRY
master
ISBets21MAUBRY / eclipse-workspace / ISBets21BRYMAUJONUNA / src / main / java / domain / Forecast.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
package domain; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class Forecast { @Id private Integer forecastNumber; private String forecast; private Question question; public Forecast(int n, String s, Question q) { forecast = s; question = q; forecastNumber = n; } public Forecast(String s, Question q) { forecast = s; question = q; } public String getForecast() { return forecast; } public void setForecast(String s) { forecast = s; } public Question getQuestion() { return question; } public void setQuestion(Question q) { question = q; } public Integer getForecastNumber() { return forecastNumber; } public void setForecastNumber(int n) { forecastNumber = n; } public String toString(){ return forecastNumber + ";" + question.toString()+"; Forecast: "+forecast; } } |
Commits for ISBets21MAUBRY/eclipse-workspace/ISBets21BRYMAUJONUNA/src/main/java/domain/Forecast.java
Revision | Author | Commited | Message |
---|---|---|---|
cbae14 ... | porkipig | Thu 04 Mar, 2021 10:33:41 +0000 | VersiĆ³n del proyecto de Apuestas tras la iteraciĆ³n 1 |