jj: FileContainer Version 0.0.2

This commit is contained in:
Jonathan Jenne
2018-11-21 17:03:05 +01:00
parent 0f105b6ebf
commit 7b2ae3abc3
6 changed files with 190 additions and 241 deletions

View 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