package com.zcloud.basic.info.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * web-infrastructure
 *
 * @Author zhangyue
 * @Date 2025-10-30 16:10:06
 */
@Data
@TableName("img_files")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ImgFilesDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String imgFilesId;
    //路径
    @ApiModelProperty(value = "路径")
    private String filePath;
    //类型,参考 com.zcloud.imgfiles.enums.filetype
    @ApiModelProperty(value = "类型,参考 com.zcloud.imgfiles.enums.filetype")
    private Integer type;
    //外键
    @ApiModelProperty(value = "外键")
    private String foreignKey;
    //附件名称
    @ApiModelProperty(value = "附件名称")
    private String fileName;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //企业id
    @ApiModelProperty(value = "md5")
    private String md5;

    public ImgFilesDO(String imgFilesId) {
        this.imgFilesId = imgFilesId;
    }

}

