fix: 거주자/장애인 심의대상 등록 fix
parent
0459af84b0
commit
ed2d00964e
@ -0,0 +1,57 @@
|
|||||||
|
package com.xit.biz.ctgy.entity;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.*;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
@Schema(name = "MinSimsaUser680Sc", description = "거주자/장애인 심사사용자매핑")
|
||||||
|
@Table(name = "min_simsa_user680_sc", schema = "", catalog = "")
|
||||||
|
@SequenceGenerator(
|
||||||
|
name = "SIMSA_USER680_SC_SEQ_GEN",
|
||||||
|
sequenceName = "MIN_SIMSA_USER680_SC_SEQ",
|
||||||
|
allocationSize = 1 // default = 50 이므로 반드시 setting 필요
|
||||||
|
)
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor(access = AccessLevel.PROTECTED)
|
||||||
|
@Getter
|
||||||
|
@Builder
|
||||||
|
public class MinSimsaUser680Sc {
|
||||||
|
@Id
|
||||||
|
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SIMSA_USER680_SC_SEQ_GEN")
|
||||||
|
@Schema(required = true, title = "민원심사사용자매핑코드", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_code", nullable = false, length = 10)
|
||||||
|
private Long msuCode;
|
||||||
|
|
||||||
|
@Schema(required = true, title = "민원코드", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_maincode", length = 10)
|
||||||
|
private Long msuMaincode;
|
||||||
|
|
||||||
|
@Schema(required = true, title = "민원심사사용자코드", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_userid", nullable = false, length = 20)
|
||||||
|
private String msuUserid;
|
||||||
|
|
||||||
|
@Schema(required = false, title = "결과코드", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_result", nullable = true)
|
||||||
|
private String msuResult;
|
||||||
|
|
||||||
|
@Schema(required = false, title = "사유", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_reason", nullable = true)
|
||||||
|
private String msuReason;
|
||||||
|
|
||||||
|
@Schema(required = true, title = "팀코드", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_team", nullable = false)
|
||||||
|
private String msuTeam;
|
||||||
|
|
||||||
|
@Schema(required = false, title = "입력일시", example = " ", description = "Input Description...")
|
||||||
|
@Column(name = "msu_indate", nullable = true)
|
||||||
|
private LocalDate msuIndate;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
package com.xit.biz.ctgy.repository;
|
package com.xit.biz.ctgy.repository;
|
||||||
|
|
||||||
import com.xit.biz.ctgy.entity.MinSimsaUser680;
|
import com.xit.biz.ctgy.entity.MinSimsaUser680Sc;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
public interface IJudgeUserRepository extends JpaRepository<MinSimsaUser680, Long> {
|
public interface IJudgeUserRepository extends JpaRepository<MinSimsaUser680Sc, Long> {
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.xit.biz.ctgy.repository;
|
||||||
|
|
||||||
|
import com.xit.biz.ctgy.entity.MinSimsaUser680;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
|
public interface IParkingJudgeUserRepository extends JpaRepository<MinSimsaUser680, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue