package com.zxdmy.excite.system.entity.cloud.collection;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @author 沈松
 * @since 2026-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CloudUserCollection implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 文件ID
     */
    private Long fileId;

    /**
     * 收藏者ID
     */
    private Integer userId;

    /**
     * 收藏时间
     */
    private LocalDateTime createTime;


}
