package com.ruoyi.novel.domain;

import lombok.Data;

import java.util.Date;

// VoteRecord.java
// VoteRecord.java
@Data
@TableName("novel_vote_log")
public class VoteRecord {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;
    private Long storyId;
    private Long optionId;

    @TableField(fill = FieldFill.INSERT)
    private Date voteTime;

    @Column(typeHandler = LongTextTypeHandler.class)
    private String generatedContent;

    private Integer notifyStatus; // 0-未通知 1-已通知
}