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;
}
