년도목록조회 수정
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
package com.kamco.cd.kamcoback.postgres.entity;
|
||||||
|
|
||||||
|
import jakarta.persistence.Column;
|
||||||
|
import jakarta.persistence.Entity;
|
||||||
|
import jakarta.persistence.Id;
|
||||||
|
import jakarta.persistence.Table;
|
||||||
|
import jakarta.validation.constraints.Size;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@Entity
|
||||||
|
@Table(name = "tb_year")
|
||||||
|
public class YearEntity {
|
||||||
|
|
||||||
|
@Id
|
||||||
|
@Column(name = "yyyy", nullable = false)
|
||||||
|
private Integer yyyy;
|
||||||
|
|
||||||
|
@Size(max = 20)
|
||||||
|
@Column(name = "status", length = 20)
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user