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. 5
 */
@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 vendorId;
	private String vendorNm;
	private String afLinkCd;
	private String afLinkNm;
	private String afChannel;
	private String afChannelNm;
	private String email;
	private String cellPhnno;
	private int pntAssignAmt;
	private String ipAddr;
	private String ipChkYn;
	private String loginLdt;
	private String passwdChgDt;
	private String useYn;
	private int loginFailCnt;
	private String loginFailYn;

	// 사용자 목록 검색조건
	private String searchGb;
	private String searchTxt;
	private String callBackFun;

	// 권한변경여부
	private String roleChangeYn;

}
