Update Movie.java

This commit is contained in:
Pallavi Priyadarshani 2019-08-18 02:55:55 +05:30 committed by GitHub
parent 28e18be37a
commit 8b68e17234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 8 deletions

View File

@ -4,13 +4,6 @@ import java.util.UUID;
import javax.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
public class Movie {
private String id;
@ -23,5 +16,25 @@ public class Movie {
.toString();
this.name = name;
}
public Movie(){
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}