package cn.axzo.workflow.core.repository.entity;

import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 文件内容
 *
 * @author wangli
 * @since 2025-03-27 14:09
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ext_ax_doc_content", autoResultMap = true)
@Data
@ToString(callSuper = true)
public class ExtAxDocContent extends BaseEntity<ExtAxDocContent> {

    private static final long serialVersionUID = 5844913474486640969L;

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

    /**
     * 文档类型
     */
    private String fileType;

    /**
     * 文档内容
     */
    @TableField(insertStrategy = FieldStrategy.NOT_NULL, updateStrategy = FieldStrategy.NOT_NULL)
    private String content;
}
