package com.its.web.dto.admin;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("TB_WWW_POPUP DTO(홈페이지 팝업 DTO)")
public class TbWwwPopupDto {
    @ApiModelProperty("팝업 ID")
    @JsonProperty("popupid")
    private Long popupid;

    @ApiModelProperty("제목")
    @JsonProperty("title")
    private String title;

    @ApiModelProperty("URL 주소")
    @JsonProperty("url")
    private String url;

    @ApiModelProperty("팝업 시작일")
    @JsonProperty("post_from")
    private String postFrom;

    @ApiModelProperty("팝업 종료일")
    @JsonProperty("post_to")
    private String postTo;

    @ApiModelProperty("이미지 ID")
    @JsonProperty("img_id")
    private String imgId;

    @ApiModelProperty("이미지 명칭")
    @JsonProperty("img_name")
    private String imgName;

    @ApiModelProperty("팝업 내용")
    @JsonProperty("pcontent")
    private String pcontent;

    @ApiModelProperty("등록일")
    @JsonProperty("regdate")
    private String regdate;

    @ApiModelProperty("사용여부")
    @JsonProperty("use_yn")
    private String useYn;

    @ApiModelProperty("삭제여부")
    @JsonProperty("del_yn")
    private String delYn;
}
