package com.crm.rely.backend.core.entity.web.popup;

import com.crm.rely.backend.core.constant.ManagerConstant;
import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import com.crm.rely.backend.core.entity.web.video.tag.WebVideoTagSaveEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class WebPopupUpdateEntity extends BaseUpdateEntity {


    private String remarks;

    @NotNull(message = ManagerConstant.LANG_NOT_NULL)
    @NotBlank(message = ManagerConstant.LANG_NOT_NULL)
    private String lang;

    private String coverImage;

    private String link;

    @NotNull(message = ManagerConstant.START_TIME_NOT_NULL)
    private Date startTime;

    @NotNull(message = ManagerConstant.END_TIME_NOT_NULL)
    private Date endTime;

    @NotNull(message = ManagerConstant.VALID_NOT_NULL)
    private Integer valid;

    private Integer subIndex;

}
