2015-03-10 23:13:42 +00:00
|
|
|
User
|
|
|
|
ident Text
|
2015-07-20 20:10:30 +00:00
|
|
|
name Text
|
|
|
|
charId Int64
|
2015-03-10 23:13:42 +00:00
|
|
|
password Text Maybe
|
2015-07-20 20:10:30 +00:00
|
|
|
lastLogin UTCTime
|
|
|
|
tokenExpires UTCTime
|
|
|
|
accessToken Text
|
2015-03-10 23:13:42 +00:00
|
|
|
UniqueUser ident
|
|
|
|
deriving Typeable
|
2015-04-26 20:18:24 +00:00
|
|
|
|
2015-03-10 23:13:42 +00:00
|
|
|
Email
|
|
|
|
email Text
|
2015-06-16 15:03:34 +00:00
|
|
|
user UserId
|
2015-03-10 23:13:42 +00:00
|
|
|
verkey Text Maybe
|
|
|
|
UniqueEmail email
|
|
|
|
|
2015-04-26 20:18:24 +00:00
|
|
|
Api
|
|
|
|
user User
|
|
|
|
keyID Int64
|
|
|
|
vCode Text
|
2015-07-20 20:10:30 +00:00
|
|
|
UniqueApiUser user
|
2015-04-26 20:18:24 +00:00
|
|
|
|
|
|
|
Character
|
|
|
|
auth Api
|
|
|
|
charID Int64
|
|
|
|
brokerRelations Int default=0
|
|
|
|
accounting Int default=0
|
|
|
|
charName Text
|
|
|
|
escrow Double default=0
|
|
|
|
transaction_cu Int64 default=0
|
|
|
|
standings_cu Int64 default=0
|
|
|
|
balance_cu Int64 default=0
|
|
|
|
escrow_cu Int64 default=0
|
|
|
|
UniqueChar charID
|
|
|
|
|
|
|
|
FactionStandings
|
|
|
|
char Character
|
|
|
|
factionID Int64
|
|
|
|
corpname Text
|
|
|
|
standing Double
|
|
|
|
|
|
|
|
UserChars
|
|
|
|
user User
|
|
|
|
char Character
|
|
|
|
|
|
|
|
CharOrders
|
|
|
|
char Character
|
|
|
|
typeID Int64
|
|
|
|
volRemaining Double
|
|
|
|
range Int64
|
|
|
|
orderID Int64
|
|
|
|
volEntered Int64
|
|
|
|
minVolume Int64
|
|
|
|
isBuy Bool
|
|
|
|
issueDate UTCTime
|
|
|
|
duration Int64
|
|
|
|
stationID Int64
|
|
|
|
regionID Int64
|
|
|
|
solarSystemID Int64
|
|
|
|
escrow Double
|
|
|
|
orderState Int64
|
|
|
|
accountID Int64
|
|
|
|
isCorp Bool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-10 23:13:42 +00:00
|
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|