package com.storlead.sales.pojo.entity.mail;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户点击记录
 * </p>
 *
 * @author chenkq
 * @since 2025-02-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user_click_record")
@ApiModel(value="UserClickRecordEntity对象", description="用户点击记录")
public class UserClickRecordEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "业务数据id")
    @TableField("data_id")
    private Long dataId;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "点击类型：1：邮件，2：跟进")
    @TableField("click_type")
    private Integer clickType;

    @ApiModelProperty(value = "点击次数")
    @TableField("click_count")
    private Integer clickCount;


}
