jj: FileContainer Version 0.0.2
This commit is contained in:
22
Filesystem/FileContainerInner.vb
Normal file
22
Filesystem/FileContainerInner.vb
Normal file
@@ -0,0 +1,22 @@
|
||||
Imports ProtoBuf
|
||||
|
||||
<Serializable>
|
||||
<ProtoContract>
|
||||
Public Class FileContainerInner
|
||||
<ProtoMember(1)>
|
||||
Public FileId As String
|
||||
<ProtoMember(2)>
|
||||
Public Contents As Byte()
|
||||
<ProtoMember(3)>
|
||||
Public CreatedAt As DateTime
|
||||
<ProtoMember(4)>
|
||||
Public UpdatedAt As DateTime
|
||||
<ProtoMember(5)>
|
||||
Public Extension As String
|
||||
|
||||
Public Sub New()
|
||||
FileId = Guid.NewGuid.ToString
|
||||
CreatedAt = Date.Now
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
Reference in New Issue
Block a user