package com.xingxi.business.UserFollow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingxi.common.annotation.Excel;
import com.xingxi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * 用户收藏对象 t_user_follow
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class UserFollow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 主键
    private Long userFollowId;

    // 收藏类型
    @Excel(name = "收藏类型")
    private String folllowType;

    // 收藏时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收藏时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date followTime;

    // 用户ID
    @Excel(name = "用户ID")
    private Long userId;

    // 商品ID
    @Excel(name = "商品ID")
    private Long prodId;

    // 设计师ID
    @Excel(name = "设计师ID")
    private Long designerId;

    // 删除标志
    @Excel(name = "删除标志")
    private String delFlag;
}
