33 lines
742 B
Java
33 lines
742 B
Java
package com.dbnt.faisp.model;
|
|
|
|
import lombok.Getter;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.Setter;
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import javax.persistence.*;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@NoArgsConstructor
|
|
@DynamicInsert
|
|
@DynamicUpdate
|
|
@Table(name = "COMMON_CODE")
|
|
public class CommonCode {
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@Column(name = "CODE_SQ")
|
|
private Integer codeSq;
|
|
@Column(name = "CATEGORY", nullable = false)
|
|
private String category;
|
|
@Column(name = "VALUE", nullable = false)
|
|
private String value;
|
|
@Column(name = "DESCRIPTION")
|
|
private String description;
|
|
@Column(name = "IS_DELETED")
|
|
private String isDeleted;
|
|
|
|
}
|