#21 -- Add report period entity

This commit is contained in:
Anton Romanov 2025-04-02 23:15:46 +04:00
parent a4978fd2af
commit 48c614a9ca

View File

@ -0,0 +1,33 @@
package ru.ulstu.report.model;
import jakarta.persistence.Entity;
import jakarta.persistence.Temporal;
import jakarta.persistence.TemporalType;
import ru.ulstu.model.BaseEntity;
import java.util.Date;
@Entity
public class ReportPeriod extends BaseEntity {
@Temporal(TemporalType.DATE)
private Date startDate;
@Temporal(TemporalType.DATE)
private Date endDate;
public Date getStartDate() {
return startDate;
}
public void setStartDate(Date startDate) {
this.startDate = startDate;
}
public Date getEndDate() {
return endDate;
}
public void setEndDate(Date endDate) {
this.endDate = endDate;
}
}