feat: complete reverse engineering, standard Maven structure, detailed code annotations and IoT-M platform architecture
This commit is contained in:
1 parent
e8dc09fb3c
commit
cd6a4c70e7
3045 files changed
+566733
-1
No files matched your search
@@ -0,0 +1,76 @@
|
||||
package com.midm.model.org;
|
||||
|
||||
import com.midm.model.file.BaseFile;
|
||||
import com.mitac.cell.io.McFile;
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
import org.springframework.data.mongodb.core.mapping.DBRef;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Document
|
||||
public class SiteFile extends BaseFile {
|
||||
private String category;
|
||||
private String forWhat;
|
||||
private Date requested;
|
||||
private Date expiry;
|
||||
private String siteName;
|
||||
@DBRef
|
||||
private User requestedFrom;
|
||||
|
||||
public SiteFile() {
|
||||
}
|
||||
|
||||
public SiteFile(User requestedFrom, UUID fileUuid, McFile file) {
|
||||
this.setUserUuid(requestedFrom);
|
||||
this.setFileUuid(fileUuid);
|
||||
this.setFileInfo(file);
|
||||
}
|
||||
|
||||
public String getCategory() {
|
||||
return this.category;
|
||||
}
|
||||
|
||||
public void setCategory(String category) {
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
public User getRequestedFrom() {
|
||||
return this.requestedFrom;
|
||||
}
|
||||
|
||||
public void setRequestedFrom(User requestedFrom) {
|
||||
this.requestedFrom = requestedFrom;
|
||||
}
|
||||
|
||||
public Date getRequested() {
|
||||
return this.requested;
|
||||
}
|
||||
|
||||
public void setRequested(Date requested) {
|
||||
this.requested = requested;
|
||||
}
|
||||
|
||||
public Date getExpiry() {
|
||||
return this.expiry;
|
||||
}
|
||||
|
||||
public void setExpiry(Date expiry) {
|
||||
this.expiry = expiry;
|
||||
}
|
||||
|
||||
public String getSiteName() {
|
||||
return this.siteName;
|
||||
}
|
||||
|
||||
public void setSiteName(String siteName) {
|
||||
this.siteName = siteName;
|
||||
}
|
||||
|
||||
public String getForWhat() {
|
||||
return this.forWhat;
|
||||
}
|
||||
|
||||
public void setForWhat(String forWhat) {
|
||||
this.forWhat = forWhat;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user