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

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.information.tag.WebInformationTagSaveEntity;
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 WebLiveInformationUpdateEntity extends BaseUpdateEntity {

    @NotNull(message = ManagerConstant.TITLE_NOT_NULL)
    @NotBlank(message = ManagerConstant.TITLE_NOT_NULL)
    private String title;

    private String lang;

    private String coverImage;

    @NotNull(message = ManagerConstant.CONTENT_NOT_NULL)
    @NotBlank(message = ManagerConstant.CONTENT_NOT_NULL)
    private String content;

    @NotNull(message = ManagerConstant.DELIVERY_TIME_NOT_NULL)
    private Date deliveryTime;

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

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

    private Integer valid;

    private String linkUrl;

    private String linkUrlEn;

    private Long instructorId;

}
