<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="USER_GEN_NUMBER" 
Description="Информация о пользователе" 
PrimaryKey="UserGenNumberID">
  <Fields>
    <Attribute Name="UserGenNumberID" Index="11050001" Type="guid" Description="Идентификатор" />
    <Attribute Name="RecordDateTime" Index="11050003" Type="datetime" DefaultFormat="{0:dd.MM.yyyy HH:mm:ss}" Description="Дата и время создания" Required="1" />
    <Attribute Name="MedCardNumber" Index="11050004" Type="string" Description="Номер истории болезни" />
    <Parent Name="Users" Index="11050002" Type="AKUZ.USERS" Description="Пользователи системы" Required="1" />
    <Attribute Name="NumberName" Type="string" Description="Ключ к строке генерации" />
  </Fields>
  <DbMapping>
    <Table name="T_USER_GEN_NUMBER">
      <Map Name="UserGenNumberID" Column="UserGenNumberID" />
      <Map Name="RecordDateTime" Column="RecordDateTime" />
      <Map Name="MedCardNumber" Column="MedCardNumber" />
      <Map Name="Users" Column="Users" />
      <Map Name="NumberName" Column="NumberName" />
    </Table>
  </DbMapping>
</Entity>