timestamper/src/ts_db_records.hrl

36 lines
675 B
Erlang
Raw Normal View History

-record(ts_user, {
username,
pwd,
pwd_salt,
name,
email,
2011-02-14 09:01:32 -06:00
join_date%,
% ext_data % other extensible data
}).
2011-02-14 09:01:32 -06:00
% ts_user.ext_data can be:
% [{last_timeline, TimelineId}]
-record(ts_timeline, {
ref, % {username, timelineid}
created,% {{year, month, day}, {hour, minute, second}}
desc
}).
-record(ts_entry, {
ref, % {username, timelineid, entryid}
timestamp, % gregorian seconds
mark, % String description of entry
notes % String with further notes about the entry
}).
-record(ts_api_session, {
username,
expires
}).
%-record(ts_session, {
%session_id,
%expires,
%username