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.
119 lines
2.8 KiB
119 lines
2.8 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.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
/**
|
|
* 项目节点附件表
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2020-12-21
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper=false)
|
|
@TableName("ic_resi_user_attachment")
|
|
public class IcResiUserAttachmentEntity extends BaseEpmetEntity {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 客户ID
|
|
*/
|
|
private String customerId;
|
|
|
|
/**
|
|
* 项目ID
|
|
*/
|
|
private String projectId;
|
|
|
|
/**
|
|
* 项目进展表ID
|
|
*/
|
|
private String processId;
|
|
|
|
/**
|
|
* 文件所属内容(内部备注: 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;
|
|
|
|
}
|
|
|