package com.style24.persistence.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.style24.persistence.TscBaseDomain;
import com.style24.persistence.TsfPageRequest;

import lombok.Data;

/**
 * FAQ Domain
 *
 * @author gagamel
 * @since 2020. 12. 23
 */
@SuppressWarnings("serial")
@Data
public class Faq extends TscBaseDomain {

	private Integer faqSq;		// FAQ일련번호
	private String siteCd;		// 사이트코드
	private String faqType;		// FAQ유형
	private String faqTypeNm;	// FAQ유형명
	private String question;	// 질문
	private String answer;		// 답변
	private int readCnt;		// 조회수

	// 검색조건
	private String searchTxt;	//검색어

	// Pagination
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private TsfPageRequest pageable;

	private int pageNo = 1;
	private int pageSize = 10;
	private int pageUnit = 10;

}
