package com.style24.persistence.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.style24.persistence.TscBaseDomain;

import lombok.Data;

/**
 * 사용자 Domain
 * 
 * @author gagamel
 * @since 2020. 10. 19
 */
@SuppressWarnings("serial")
@Data
@JsonSerialize
@JsonIgnoreProperties(ignoreUnknown = true)
public class User extends TscBaseDomain {

	// 세션을 JSON 형식으로 레디스에 저장하려면 기본 생성자를 반드시 명시해야 한다
	public User() {

	}

	private Integer userNo;
	private String userId;
	private String userNm;
	private String passwd;
	private String roleCd;
	private String roleNm;
	private String roleRefVal;
	private String supplyCompCd;
	private String supplyCompNm;
	private String photoCompCd;
	private String photoCompNm;
	private String email;
	private String cellPhnno;
	private String ipAddr;
	private String ipChkYn;
	private String loginLdt;
	private String passwdChgDt;
	private String useYn;
	private int loginFailCnt;
	private String loginFailYn;

}
