app/src/main/java/hexlet/code/model/UrlCheck.java
package hexlet.code.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.sql.Timestamp;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class UrlCheck {
private Long id;
private Integer statusCode;
private String title;
private String h1;
private String description;
private Long urlId;
private Timestamp createdAt;
public UrlCheck(Long id, Integer statusCode, String title, String h1, String description, Long urlId) {
this.id = id;
this.statusCode = statusCode;
this.title = title;
this.h1 = h1;
this.description = description;
this.urlId = urlId;
}
public UrlCheck(Integer statusCode, String title, String h1, String description, Long urlId) {
this.statusCode = statusCode;
this.title = title;
this.h1 = h1;
this.description = description;
this.urlId = urlId;
}
}