package com.zioinfo.mes.uiws.system.model;

import lombok.Data;
import java.time.LocalDateTime;

/** 업무 사용자 (tb_uiws_sys_user). 원본 com.urp.uiws.domain.User 이식. password 는 BCrypt. */
@Data
public class SysUser {
    private String userId;
    private String userNm;
    private String password;
    private String email;
    private String gradeCd;
    private String deptId;
    private String companyId;
    private String roleCd;          // USER | MANAGER | ADMIN
    private String naverworksId;
    private Integer loginFailCnt;
    private String lockYn;
    private String useYn;
    private String approvalYn;
    private String verifyMethod;
    private String otpSecret;
    private String pwChangeYn;
    private String createdBy;
    private LocalDateTime createdAt;
    private String updatedBy;
    private LocalDateTime updatedAt;
}
