사용자 관리 추가

This commit is contained in:
2025-11-27 12:28:14 +09:00
parent 1dbb3e1b50
commit 510483a537
8 changed files with 231 additions and 10 deletions

View File

@@ -99,7 +99,7 @@ public class MapSheetAnalDataEntity {
@Column(name = "anal_uid")
private Long analUid;
@Column(name = "map_sheep_num")
@Column(name = "map_sheet_num")
private Long mapSheepNum;
@Column(name = "detecting_cnt")

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.postgres.entity;
import com.kamco.cd.kamcoback.auth.dto.AuthDto;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
@@ -83,4 +84,17 @@ public class UserEntity {
@NotNull
@Column(name = "emp_id", nullable = false)
private String empId;
public AuthDto.Basic toDto() {
return new AuthDto.Basic(
this.id,
this.userAuth,
this.userNm,
this.userId,
this.empId,
this.userEmail,
this.createdDttm
) ;
}
}