package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

@TableName(value = "wx_screen_ad")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxScreenAd extends BaseEntity {

    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value="租户id",name="tenantId")
	private String tenantId;

	@io.swagger.annotations.ApiModelProperty(value="标题",name="title")
	private String title;

	@io.swagger.annotations.ApiModelProperty(value="广告类型",name="type")
	private Integer type;

	@io.swagger.annotations.ApiModelProperty(value="广告子类型 (券渠道)",name="subType")
	private Integer subType;

	@io.swagger.annotations.ApiModelProperty(value="广告状态",name="status")
	private Integer status;

	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
	private Date createDate;

	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")
	private Date updateDate;

	@io.swagger.annotations.ApiModelProperty(value="封面",name="coverImg")
	private String coverImg;

	@io.swagger.annotations.ApiModelProperty(value="广告目标ID: couponChannelId or campaignId",name="targetId")
	private Long targetId;

	@io.swagger.annotations.ApiModelProperty(value = "扩展信息", name = "extInfo")
	private String extInfo;

	@TableField(exist = false)
	protected Object target;


}
