package cn.iocoder.yudao.module.knowledge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 法律法规表(TLaws)表实体类
 *
 * @author makejava
 * @since 2024-04-12 10:31:34
 */
@Data
@TableName("t_laws_records")

public class TLawsRecord extends BaseDO {

    @Schema(description = "主键", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "对应法律法规id", example = "1001")
    private Long lawsId;

    @Schema(description = "文件的唯一编码", example = "ABC123")
    private String code;
    @Schema(description = "文件名称", example = "1.0")
    private String name;
    @Schema(description = "版本", example = "1.0")
    private String version;

    @Schema(description = "文件大小", example = "1.0")
    private Long fileSize;

    @Schema(description = "文件真实存在的地方", example = "/path/to/file/example.jpg")
    private String fileUrl;
    @Schema(description = "文件原名称", example = "test.jpg")
    private String fileName;
    @Schema(description = "归档时间", example = "2024-05-05")
    private Date filingTime;
    @Schema(description = "说明", example = "这是一段说明")
    private String describeInfo;
    @Schema(description = "创建者", example = "John Doe")
    private String creator;

    @Schema(description = "创建者id", example = "1001")
    private String creatorId;


}

