123 lines
2.2 KiB
Java
123 lines
2.2 KiB
Java
package com.mini.capi.biz.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.IdType;
|
||
import com.baomidou.mybatisplus.annotation.TableField;
|
||
import com.baomidou.mybatisplus.annotation.TableId;
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import java.io.Serializable;
|
||
import java.time.LocalDateTime;
|
||
import lombok.Getter;
|
||
import lombok.Setter;
|
||
|
||
/**
|
||
* <p>
|
||
* 附件表
|
||
* </p>
|
||
*
|
||
* @author gaoxq
|
||
* @since 2025-09-22
|
||
*/
|
||
@Getter
|
||
@Setter
|
||
@TableName("biz_mail_attachment")
|
||
public class MailAttachment implements Serializable {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 创建时间
|
||
*/
|
||
@TableField("create_time")
|
||
private LocalDateTime createTime;
|
||
|
||
/**
|
||
* 主键ID
|
||
*/
|
||
@TableId(value = "id", type = IdType.AUTO)
|
||
private Long id;
|
||
|
||
/**
|
||
* 文件编号
|
||
*/
|
||
@TableField("file_no")
|
||
private String fileNo;
|
||
|
||
/**
|
||
* 目录
|
||
*/
|
||
@TableField("directory")
|
||
private String directory;
|
||
|
||
/**
|
||
* 原始文件名
|
||
*/
|
||
@TableField("original_file_name")
|
||
private String originalFileName;
|
||
|
||
/**
|
||
* 存储地址(目录+32位随机字符+拓展名)
|
||
*/
|
||
@TableField("storage_path")
|
||
private String storagePath;
|
||
|
||
/**
|
||
* 文件大小(字节)
|
||
*/
|
||
@TableField("file_size")
|
||
private Long fileSize;
|
||
|
||
/**
|
||
* 类型:1-收件附件,2-发件附件
|
||
*/
|
||
@TableField("type")
|
||
private Boolean type;
|
||
|
||
/**
|
||
* 关联的收件或发件ID
|
||
*/
|
||
@TableField("ref_id")
|
||
private Long refId;
|
||
|
||
/**
|
||
* 文件类型
|
||
*/
|
||
@TableField("content_type")
|
||
private String contentType;
|
||
|
||
/**
|
||
* 下载次数
|
||
*/
|
||
@TableField("download_count")
|
||
private Integer downloadCount;
|
||
|
||
/**
|
||
* 更新时间
|
||
*/
|
||
@TableField("update_time")
|
||
private LocalDateTime updateTime;
|
||
|
||
/**
|
||
* 租户id
|
||
*/
|
||
@TableField("f_tenant_id")
|
||
private String fTenantId;
|
||
|
||
/**
|
||
* 流程id
|
||
*/
|
||
@TableField("f_flow_id")
|
||
private String fFlowId;
|
||
|
||
/**
|
||
* 流程任务主键
|
||
*/
|
||
@TableField("f_flow_task_id")
|
||
private String fFlowTaskId;
|
||
|
||
/**
|
||
* 流程任务状态
|
||
*/
|
||
@TableField("f_flow_state")
|
||
private Integer fFlowState;
|
||
}
|