You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
959 B
Java
30 lines
959 B
Java
package com.mfsys.uco.model;
|
|
|
|
import com.mfsys.comm.util.FieldNameLength;
|
|
import jakarta.persistence.*;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
@Data
|
|
@RequiredArgsConstructor
|
|
@Entity(name = "PR_GL_CA_ACCOUNT")
|
|
@Table(name = "PR_GL_CA_ACCOUNT")
|
|
@IdClass(ChartOfAccountId.class)
|
|
public class ChartOfAccount {
|
|
@Id
|
|
@Column(name = "POR_ORGACODE", nullable = false, updatable = false, columnDefinition = FieldNameLength.POR_ORGACODE)
|
|
private String porOrgacode;
|
|
|
|
@Id
|
|
@Column(name = "PCA_GLACCODE", nullable = false, updatable = false, columnDefinition = FieldNameLength.PCA_GLACCODE)
|
|
private String pcaGlaccode;
|
|
|
|
@Column(name = "PCA_GLACDESC", nullable = false, columnDefinition = FieldNameLength.PCA_GLACDESC)
|
|
private String pcaGlacdesc;
|
|
|
|
@Column(name = "PCA_GLACSHORT", nullable = false, columnDefinition = FieldNameLength.PCA_GLACDESC)
|
|
private String pcaGlacshort;
|
|
|
|
}
|