3.2. Data Models¶
Below are the various data models in Eve W-Space.
3.2.1. core¶
- class core.models.ConfigEntry(*args, **kwargs)[source]¶
A configuration setting that may be changed at runtime.
- class core.models.Constellation(*args, **kwargs)[source]¶
Core model for static constellation data, references Region
- class core.models.Corporation(*args, **kwargs)[source]¶
Represents a corporation, data pulled from api
- class core.models.Location(*args, **kwargs)[source]¶
Core model for SDD mapDenormalize table that generic locations map to.
- class core.models.LocationWormholeClass(*args, **kwargs)[source]¶
Core model for SDD mapLocationWormholeClasses used to generate system tables.
- class core.models.NewsFeed(*args, **kwargs)[source]¶
Contains information about an RSS feed. If user is None, the feed is global.
- class core.models.StarbaseResource(*args, **kwargs)[source]¶
Core model for SDD invStarbaseResources table. Maps tower types to their fuel
- class core.models.StarbaseResourcePurpose(*args, **kwargs)[source]¶
Core model for SDD invControlTowerResourcePurpose table.
- class core.models.SystemData(*args, **kwargs)[source]¶
Core model for static system data from the SDD, references Region and Constellation
3.2.2. Map¶
- class Map.models.Destination(*args, **kwargs)[source]¶
Represents a corp-wide destination whose range should be shown in the map.
- class Map.models.KSystem(*args, **kwargs)[source]¶
KSystem(id, name, constellation_id, region_id, x, y, z, security, systemdata_ptr_id, sysclass, importance, occupied, info, lastscanned, npckills, podkills, shipkills, updated, first_visited, last_visited, system_ptr_id, sov, jumps)
- class Map.models.Map(*args, **kwargs)[source]¶
Stores the maps available in the map tool. root relates to System model.
- add_system(user, system, friendlyname, parent=None)[source]¶
Adds the provided system to the map with the provided friendly name. Returns the new MapSystem object.
- class Map.models.MapLog(*args, **kwargs)[source]¶
Represents an action that has taken place on a map (e.g. adding a signature). This is used for pushing updates since last page load to clients.
- class Map.models.MapPermission(*args, **kwargs)[source]¶
Relates a user group to it’s map permissions. Non-restricted groups will have change access to all maps.
- class Map.models.MapSystem(*args, **kwargs)[source]¶
Stores information regarding which systems are active in which maps at the present time.
- class Map.models.Signature(*args, **kwargs)[source]¶
Stores the signatures active in all systems. Relates to System model.
- class Map.models.SignatureForm(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.util.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None)[source]¶
This form should only be used with commit=False since it does not set the system or updated fields.
- class Map.models.SignatureType(*args, **kwargs)[source]¶
Stores the list of possible signature types for the map tool. Custom signature types may be added at will.
- class Map.models.SiteSpawn(*args, **kwargs)[source]¶
Contains the site spawn list for a site as HTML.
- class Map.models.Snapshot(*args, **kwargs)[source]¶
Represents a snapshot of the JSON strings that are used to draw a map.
- class Map.models.System(*args, **kwargs)[source]¶
Stores the permanent record of a solar system. This table should not have rows added or removed through Django.
- class Map.models.WSystem(*args, **kwargs)[source]¶
WSystem(id, name, constellation_id, region_id, x, y, z, security, systemdata_ptr_id, sysclass, importance, occupied, info, lastscanned, npckills, podkills, shipkills, updated, first_visited, last_visited, system_ptr_id, static1_id, static2_id, effect)
3.2.3. POS¶
- class POS.models.CorpPOS(*args, **kwargs)[source]¶
A corp-controlled POS with manager and password data.
3.2.4. account¶
- class account.models.EWSUser(*args, **kwargs)[source]¶
An abstract base class implementing a fully featured User model with admin-compliant permissions.
Username, password and email are required. Other fields are optional.
- class account.models.GroupProfile(*args, **kwargs)[source]¶
GroupProfile defines custom fields tied to each Group record.
3.2.5. Alerts¶
- class Alerts.models.Subscription(*args, **kwargs)[source]¶
Mapping table that relates Users to their subscriped SubscriptionGroups.
3.2.6. API¶
- class API.models.APIAccessGroup(*args, **kwargs)[source]¶
Stores the access mask access groups from the CallList call.
- class API.models.APIAccessRequirement(*args, **kwargs)[source]¶
Stores the required access for member API keys for a corp.
- class API.models.APIAccessType(*args, **kwargs)[source]¶
Stores the access masks and types pulled from the CallList call.
- class API.models.APICharacter(*args, **kwargs)[source]¶
API Character contains the API security information of a single character.
- class API.models.APIGroupMapping(*args, **kwargs)[source]¶
Maps API-obtained corps and titles to Django groups.
- class API.models.APIKey(*args, **kwargs)[source]¶
API Key object relates to User and contains key id, vcode, and validation information.
- class API.models.APIShipLog(*args, **kwargs)[source]¶
API Ship Log contains a timestamped record of a ship being flown by a character.
3.2.7. SiteTracker¶
- class SiteTracker.models.Claim(*args, **kwargs)[source]¶
Represents a User’s claim for a claim period.
- class SiteTracker.models.ClaimPeriod(*args, **kwargs)[source]¶
Represents a claim period that Users can claim against.
- class SiteTracker.models.PayoutEntry(*args, **kwargs)[source]¶
Represents an entry in the payout report.
- class SiteTracker.models.PayoutReport(*args, **kwargs)[source]¶
Represents a payout report and contains general information about the payout period.
- class SiteTracker.models.SiteRole(*args, **kwargs)[source]¶
Represents a role for a sitetracker fleet.
- class SiteTracker.models.SiteType(*args, **kwargs)[source]¶
Represents a type of site that can be credited.
- class SiteTracker.models.SiteWeight(*args, **kwargs)[source]¶
Represents the raw points available for a site type / system class combo
- class SiteTracker.models.SystemWeight(*args, **kwargs)[source]¶
Respresents a multiplier for site credit for a system.
3.2.8. Recruitment¶
- class Recruitment.models.Action(*args, **kwargs)[source]¶
Represents an action that can be taken on an application e.g Intel Ran
- class Recruitment.models.AppAction(*args, **kwargs)[source]¶
Represents an action taken on an application.
- class Recruitment.models.AppQuestion(*args, **kwargs)[source]¶
Represents a question to be asked on the application.
- class Recruitment.models.AppResponse(*args, **kwargs)[source]¶
Represents a response to a custom application question.
- class Recruitment.models.Application(*args, **kwargs)[source]¶
Represents a recruitment application.
- class Recruitment.models.Interest(*args, **kwargs)[source]¶
Represents an option for the ‘What are you interests? question’
3.2.9. Teamspeak¶
3.2.10. Jabber¶
- class Jabber.models.JabberAccount(*args, **kwargs)[source]¶
A jabber account to send messages to. JID is in user@host.tld format
3.2.11. Cart¶
- class Cart.models.Request(*args, **kwargs)[source]¶
Request(id, originuser_id, totalcost, itemcount, corprequest, daterequested, datefilled, fillcost, deliveredto, datepaid, filluser_id)