DEGTEVUWU/java-project-72

View on GitHub
app/src/main/java/hexlet/code/model/Url.java

Summary

Maintainability
A
0 mins
Test Coverage
C
77%
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 Url {
    private Long id;
    private String name;
    private Timestamp createdAt;
    public Url(String name) {
        this.name = name;
    }

}