mirror of
https://github.com/kristoferssolo/Mafia-the-Game-Description.git
synced 2025-10-21 19:50:35 +00:00
feat(Player): add Player table
This commit is contained in:
parent
19da7af777
commit
781fe6dde4
@ -17,3 +17,4 @@ Visām tabulām, \texttt{VARCHAR} un \texttt{TEXT} laukiem tiek lietots UTF8 kod
|
||||
\input{./src/design/entities/game-setup.tex}
|
||||
\input{./src/design/entities/room.tex}
|
||||
\input{./src/design/entities/game-event.tex}
|
||||
\input{./src/design/entities/player.tex}
|
||||
|
||||
10
src/design/entities/player.tex
Normal file
10
src/design/entities/player.tex
Normal file
@ -0,0 +1,10 @@
|
||||
\begin{entityTable}{Speletajs}{entity-player}
|
||||
\entityTableRow{nosaukums}{varchar(255)}{unique, not null}{Notikuma nosaukums}
|
||||
\entityTableRow{ir\_noslepkavots}{bool}{default false, not null}{Vai dotais spēlētājs ir noslepkavots?}
|
||||
\entityTableRow{ir\_izbalsots}{bool}{default false, not null}{Vai dotais spēlētājs ir izbalsots?}
|
||||
\entityTableRow{ir\_izslegts}{bool}{default false, not null}{Vai dotais spēlētājs ir izslēgts?}
|
||||
\entityTableRow{ir\_aktivs}{bool}{default true, not null}{Vai dotais spēlētājs ir aktīvs?}
|
||||
\entityTableRow{redz\_mafijas\_sakarus}{bool}{default false, not null}{Vai dotais spēlētājs ir redz mafijas sakarus?}
|
||||
\entityTableRow{istaba}{int8}{}{Istaba, kurā spēlē dotais spēlētājs, \texttt{FOREING KEY} uz \hyperref[tab:entity-room]{Istaba} tabulas id kolonnu}
|
||||
\entityTableRow{speles\_loma}{int8}{not null}{Loma, kuru spēlē dotais spēlētājs, \texttt{FOREING KEY} uz \hyperref[tab:entity-game-role]{SpelesLoma} tabulas id kolonnu}
|
||||
\end{entityTable}
|
||||
Loading…
Reference in New Issue
Block a user