Country

Metadata

  • Base Table Class: Static
  • Default Size: 300

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this Country.
StatusSet of Status4
ShortNameString24The short text identifier of this Country.
ShortCodeString24The short text identifier of this Country.
NameString48The long text identifier of this Country.
RegionForeign key to Region8This is a reference to the Region table. It is keyed by the Region column in this table to the Id column in the Region table.
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
OwnerUserForeign key to User8The Id of the User that owns this Country.
OwnerGroupForeign key to Group8The Id of the Group that owns this Country.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this Country.
CreateUserForeign key to User8The Id of the User that created this Country.
CreateTimestampInteger (unsigned)8The time at which this Country was created.
UpdateUserForeign key to User8The Id of the User that last updated this Country.
UpdateTimestampInteger (unsigned)8The time at which this Country was last updated.

Foreign Keys

The following diagram shows the tables that have a foreign key link to the Country table. All Table nodes can be clicked to take you to that table's definition page.

graph LR;
	Enterprise-->|Country|Country
	click Enterprise "/marketgrid/developer/model/tables/Enterprise"
	Firm-->|Country|Country
	click Firm "/marketgrid/developer/model/tables/Firm"
	BankAccount-->|Country|Country
	click BankAccount "/marketgrid/developer/model/tables/BankAccount"
	Holding-->|Country|Country
	click Holding "/marketgrid/developer/model/tables/Holding"
	HoldingTransaction-->|Country|Country
	click HoldingTransaction "/marketgrid/developer/model/tables/HoldingTransaction"
	InstrumentMarket-->|Country|Country
	click InstrumentMarket "/marketgrid/developer/model/tables/InstrumentMarket"
	Order-->|Country|Country
	click Order "/marketgrid/developer/model/tables/Order"