-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgramacaoSemanal.java
More file actions
41 lines (29 loc) · 941 Bytes
/
ProgramacaoSemanal.java
File metadata and controls
41 lines (29 loc) · 941 Bytes
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
package com.company;
import java.util.ArrayList;
import java.util.List;
public class ProgramacaoSemanal {
private List<CadastrarFilmes> filmes = new ArrayList<CadastrarFilmes>();
private int horarioDeExibiçao;
private int mes;
private int IdDaSemana;
public ProgramacaoSemanal(int horarioDeExibiçao, int mes, int idDaSemana) {
this.horarioDeExibiçao = horarioDeExibiçao;
this.mes = mes;
IdDaSemana = idDaSemana;
}
public List<CadastrarFilmes> getFilmes() {
return filmes;
}
public void setFilmes(List<CadastrarFilmes> filmes) {
this.filmes = filmes;
}
@Override
public String toString() {
return "ProgramacaoSemanal{" +
"filmes=" + filmes +
", horarioDeExibiçao=" + horarioDeExibiçao +
", mes=" + mes +
", IdDaSemana=" + IdDaSemana +
'}';
}
}