fix: jpa entity 적용

@DynamicInsert
     @DynamicUpdate
dev
Lim Jonguk 3 years ago
parent 98d7b8e6be
commit 4bc557ee84

@ -26,7 +26,7 @@ import java.util.Objects;
)
@Entity
@Getter
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor
@Builder
@DynamicInsert

@ -1,10 +1,7 @@
package com.xit.biz.cmm.entity.ids;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.*;
import javax.persistence.Column;
import java.io.Serializable;
@ -12,7 +9,7 @@ import java.io.Serializable;
@Getter
@Setter
@EqualsAndHashCode
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class CmmCodeLIds implements Serializable {
@Schema(required = true, title = "코드그룹ID", example = "CODE_SAM", description = "공통코드그룹ID")

@ -1,10 +1,7 @@
package com.xit.biz.cmm.entity.ids;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.*;
import javax.persistence.Column;
import java.io.Serializable;
@ -12,7 +9,7 @@ import java.io.Serializable;
@Getter
@Setter
@EqualsAndHashCode
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class CmmCodeMIds implements Serializable {
@Schema(required = true, title = "코드그룹ID", example = "CODE_SAM", description = "공통코드그룹ID")

@ -1,10 +1,7 @@
package com.xit.biz.cmm.entity.ids;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.*;
import javax.persistence.Column;
import java.io.Serializable;
@ -13,7 +10,7 @@ import java.io.Serializable;
@Getter
@Setter
@EqualsAndHashCode
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class CmmCodeSIds implements Serializable {
@Schema(required = true, title = "코드그룹ID", example = "G_CODE_SAM", description = "공통코드그룹ID")

@ -2,10 +2,7 @@ package com.xit.biz.ctgy.entity;
import com.xit.biz.ctgy.CtgyConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.*;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
@ -21,7 +18,7 @@ import java.util.Objects;
allocationSize = 1 // default = 50 이므로 반드시 setting 필요
)
@Getter
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor
@Builder
@DynamicInsert

@ -1,6 +1,7 @@
package com.xit.biz.ctgy.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
@ -10,7 +11,7 @@ import javax.persistence.*;
import java.io.Serializable;
@Schema(name = "MinCivBoard680", description = "게시판")
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Data
@Entity
@Table(name = "min_civ_board680", schema = "", catalog = "")

@ -14,7 +14,7 @@ import java.time.format.DateTimeFormatter;
@Schema(name = "MinInfoBoard680", description = "공지사항")
@Table(name = "min_info_board680")
@Entity
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor
@Getter
@Setter

@ -3,6 +3,7 @@ package com.xit.biz.ctgy.entity;
import com.xit.biz.cmm.entity.ids.CmmCodeLIds;
import com.xit.biz.ctgy.entity.ids.MinMaincodePK;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
@ -12,7 +13,7 @@ import javax.persistence.*;
import java.io.Serializable;
@Schema(name = "MinMaincode", description = "코드")
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Data
@Entity
@Table(name = "min_maincode", schema = "", catalog = "")

@ -11,7 +11,7 @@ import javax.persistence.*;
@Table(name = "min_simsa680", schema = "", catalog = "")
@Entity
@Getter
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor
@Builder
@DynamicInsert

@ -17,7 +17,7 @@ import java.io.Serializable;
allocationSize = 1 // default = 50 이므로 반드시 setting 필요
)
@Getter
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor
@Builder
@DynamicInsert

@ -16,7 +16,7 @@ import java.util.Set;
@Table(name = "min_userinfo", schema = "", catalog = "")
@Entity
@Getter
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor
@Builder
@DynamicInsert

@ -1,6 +1,7 @@
package com.xit.biz.ctgy.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
@ -10,7 +11,7 @@ import javax.persistence.*;
import java.io.Serializable;
@Schema(name = "Tf680Main", description = "메인")
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Data
@Entity
@Table(name = "tf680_main", schema = "", catalog = "")

@ -1,6 +1,7 @@
package com.xit.biz.ctgy.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
@ -10,7 +11,7 @@ import javax.persistence.*;
import java.io.Serializable;
@Schema(name = "Tf680Recall", description = "민원")
@NoArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Data
@Entity
@Table(name = "tf680_recall", schema = "", catalog = "")

Loading…
Cancel
Save