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.
45 lines
1.8 KiB
Java
45 lines
1.8 KiB
Java
package com.mfsys.uco.model;
|
|
|
|
import com.mfsys.comm.util.FieldNameLength;
|
|
import jakarta.persistence.Column;
|
|
import jakarta.persistence.EmbeddedId;
|
|
import jakarta.persistence.Entity;
|
|
import jakarta.persistence.Table;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDate;
|
|
|
|
@Entity(name = "BN_MS_UC_UCOACCOUNT")
|
|
@Table(name = "BN_MS_UA_UCOACCOUNT")
|
|
@Data
|
|
@Builder
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public class UcoAccount {
|
|
@Column(name = "DMP_PRODCODE", nullable = false, updatable = false, columnDefinition = FieldNameLength.DMP_PRODCODE)
|
|
protected String dmpProdcode;
|
|
@Column(name = "MBM_BKMSTITLE", nullable = false, updatable = true, columnDefinition = FieldNameLength.ACCOUNT_TITLE)
|
|
protected String mbmBkmstitle;
|
|
@Column(name = "CMP_CUSTCODE", nullable = false, updatable = false, columnDefinition = FieldNameLength.CUSTOMER_CODE)
|
|
protected String cmpCustcode;
|
|
@Column(name = "MBM_BKMSCLOSED", nullable = false, columnDefinition = FieldNameLength.BOOLEAN_BIT)
|
|
protected boolean mbmBkmsclosed;
|
|
@Column(name = "SGT_LASTTRANDATE", nullable = true, updatable = true, columnDefinition = FieldNameLength.DATE)
|
|
protected LocalDate sgtLasttrandate;
|
|
@Column(name = "MBM_BKMSOPENDATE", nullable = false, columnDefinition = FieldNameLength.DATE)
|
|
protected LocalDate mbmBkmsopendate;
|
|
@EmbeddedId
|
|
private AccountId id;
|
|
@Column(name = "PCR_CURRDESC", nullable = false, columnDefinition = FieldNameLength.DESCRIPTION_LONG)
|
|
private String pcrCurrdesc;
|
|
@Column(name = "PCR_CURRCODE", columnDefinition = FieldNameLength.PCR_CURRCODE)
|
|
private String pcrCurrcode;
|
|
@Column(name = "PCR_CURRSHORT", columnDefinition = FieldNameLength.PCR_CURRCODE)
|
|
private String pcrCurrshort;
|
|
|
|
}
|