|
|
@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
import lombok.*;
|
|
|
|
import lombok.*;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
import org.springframework.data.domain.Persistable;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Entity;
|
|
|
@ -20,15 +21,13 @@ import java.time.LocalDate;
|
|
|
|
@NoArgsConstructor(access = AccessLevel.PROTECTED)
|
|
|
|
@NoArgsConstructor(access = AccessLevel.PROTECTED)
|
|
|
|
@Getter
|
|
|
|
@Getter
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public class MinSimsa680Sc { //implements Serializable {
|
|
|
|
public class MinSimsa680Sc implements Persistable<Long> {
|
|
|
|
//private static final long SerialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(required = true, title = "민원코드", example = " ", description = "Input Description...")
|
|
|
|
@Schema(required = true, title = "민원코드", example = " ", description = "Input Description...")
|
|
|
|
@Id
|
|
|
|
@Id
|
|
|
|
@Column(name = "ms_maincode")
|
|
|
|
@Column(name = "ms_maincode")
|
|
|
|
private Long msMaincode;
|
|
|
|
private Long msMaincode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(required = true, title = "접수번호", example = " ", description = "Input Description...")
|
|
|
|
@Schema(required = true, title = "접수번호", example = " ", description = "Input Description...")
|
|
|
|
@Column(name = "ms_seq", nullable = false)
|
|
|
|
@Column(name = "ms_seq", nullable = false)
|
|
|
|
private String msSeq;
|
|
|
|
private String msSeq;
|
|
|
@ -84,4 +83,14 @@ public class MinSimsa680Sc { //implements Serializable {
|
|
|
|
@Schema(required = false, title = "데이타구분", example = "1", description = "데이타구분: 1-거주자, 2-장애인")
|
|
|
|
@Schema(required = false, title = "데이타구분", example = "1", description = "데이타구분: 1-거주자, 2-장애인")
|
|
|
|
@Column(name = "ms_datagb", nullable = false)
|
|
|
|
@Column(name = "ms_datagb", nullable = false)
|
|
|
|
private String msDatagb;
|
|
|
|
private String msDatagb;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public Long getId() {
|
|
|
|
|
|
|
|
return this.msMaincode;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public boolean isNew() {
|
|
|
|
|
|
|
|
return this.msMaincode == 0L;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|