package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/*
 *项目名: netflix
 *文件名: CorpInteractiveRadar
 *创建者: JavaZou
 *创建时间:2023/8/4 17:01
 */
@Getter
@Setter
public class CorpInteractiveRadar extends BaseEntity{
	@NotEmpty(message = "雷达标题不为空")
	private String title;

	@NotEmpty(message = "雷达链接不为空")
	private String url;

	/**
	 * 1、企业微信,2、普通
	 */
	@NotNull(message = "雷达类型不为空")
	private Integer type;

	private Integer wxCorpId;

	@TableField(exist = false)
	private CorpInteractiveReaderLink linkInfo;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String linkInfoStr;
}
