You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
3.0 KiB
148 lines
3.0 KiB
/**
|
|
* Copyright 2018 人人开源 https://www.renren.io
|
|
* <p>
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
* <p>
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
* <p>
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
package com.epmet.dto;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
* 项目节点附件表
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2020-12-21
|
|
*/
|
|
@Data
|
|
public class IcResiUserAttachmentDTO implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 唯一标识
|
|
*/
|
|
private String id;
|
|
|
|
/**
|
|
* 客户ID
|
|
*/
|
|
private String customerId;
|
|
|
|
/**
|
|
* 用户ID
|
|
*/
|
|
private String userId;
|
|
|
|
/**
|
|
* 文件所属内容(内部备注: public 公开答复:internal)
|
|
*/
|
|
private String filePlace;
|
|
|
|
/**
|
|
* 文件名
|
|
*/
|
|
private String fileName;
|
|
|
|
/**
|
|
* 附件名(uuid随机生成)
|
|
*/
|
|
private String attachmentName;
|
|
|
|
/**
|
|
* 文件大小
|
|
*/
|
|
private Integer attachmentSize;
|
|
|
|
/**
|
|
* 文件格式(JPG、PNG、JPEG、BMP、GIF、PDF、PPT、PPTX、DOC、DOCX、XLS、XLSX、MP3、WMA、M4A、MP4、AVI、MOV、RMVB、RM、WMV)
|
|
*/
|
|
private String attachmentFormat;
|
|
|
|
/**
|
|
* 文件类型((图片 - image、 视频 - video、 语音 - voice、 文档 - doc))
|
|
*/
|
|
private String attachmentType;
|
|
|
|
/**
|
|
* url地址
|
|
*/
|
|
private String attachmentUrl;
|
|
|
|
/**
|
|
* 排序(需求确定,按上传顺序排序)
|
|
*/
|
|
private Integer sort;
|
|
|
|
/**
|
|
* 语音或视频时长,秒
|
|
*/
|
|
private Integer duration;
|
|
|
|
/**
|
|
* 是否强制发布(0:否 1:是)
|
|
*/
|
|
private Integer isRelease;
|
|
|
|
/**
|
|
* 附件状态(审核中:auditing;
|
|
* auto_passed: 自动通过;
|
|
* review:结果不确定,需要人工审核;
|
|
* block: 结果违规;
|
|
* rejected:人工审核驳回;
|
|
* approved:人工审核通过)
|
|
* 现在图片是同步审核的,所以图片只有auto_passed一种状态
|
|
*/
|
|
private String status;
|
|
|
|
/**
|
|
* 附件审核结果描述
|
|
*/
|
|
private String reason;
|
|
|
|
/**
|
|
* 删除标识:0.未删除 1.已删除
|
|
*/
|
|
private String delFlag;
|
|
|
|
/**
|
|
* 乐观锁
|
|
*/
|
|
private Integer revision;
|
|
|
|
/**
|
|
* 创建人
|
|
*/
|
|
private String createdBy;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createdTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
private String updatedBy;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private Date updatedTime;
|
|
|
|
}
|