package com.ubt.jimu.diy.model; import com.ubt.jimu.diy.DiyRobotFile; /* loaded from: classes.dex */ public class DiyActionFile { private long createTime; private String fileImage; private String fileName; private String fileUrl; private long id; private int isDeleted; private int modelId; private long updateTime; public static DiyRobotFile getModelFile(String str, DiyActionFile diyActionFile) { if (diyActionFile == null) { return null; } DiyRobotFile diyRobotFile = new DiyRobotFile(); diyRobotFile.setFileType(DiyRobotFile.TYPE_ACTION); diyRobotFile.setFileUrl(diyActionFile.getFileUrl()); diyRobotFile.setFileName(diyActionFile.getFileName()); diyRobotFile.setDisplayName(diyActionFile.getFileName()); diyRobotFile.setContent(""); diyRobotFile.setRemark(""); diyRobotFile.setServerModelId(diyActionFile.getModelId()); diyRobotFile.setCustomModelId(str); diyRobotFile.setCreateDate(diyActionFile.getCreateTime()); diyRobotFile.setUpdateDate(diyActionFile.getUpdateTime()); return diyRobotFile; } public long getCreateTime() { return this.createTime; } public String getFileImage() { return this.fileImage; } public String getFileName() { return this.fileName; } public String getFileUrl() { return this.fileUrl; } public long getId() { return this.id; } public int getIsDeleted() { return this.isDeleted; } public int getModelId() { return this.modelId; } public long getUpdateTime() { return this.updateTime; } }