Add serverside file id to file structure

This commit is contained in:
YNH Webdev
2014-01-01 23:50:12 +01:00
parent 05d4f24f6f
commit 7bf95cd927
5 changed files with 69 additions and 60 deletions

View File

@@ -0,0 +1,44 @@
note
description: "Summary description for {WSF_FILE}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
WSF_FILE
create
make
feature {NONE}
make (a_name, a_type: STRING; a_size: INTEGER; a_id: detachable STRING)
do
name := a_name
type := a_type
size := a_size
id := a_id
end
feature
set_id (a_id: detachable STRING)
do
id := a_id
end
feature --Properties
name: STRING
-- File name
type: STRING
-- File mime type
size: INTEGER
-- File size
id: detachable STRING
-- Server side file id (e.g. S3 filename)
end