<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_REZHIM_APPOINTMENT" 
Description="Режим" 
PrimaryKey="CdaRezhimAppointmentID">
  <Fields>
    <Attribute Name="CdaRezhimAppointmentID" Type="guid" Description="Идентификатор" />
    <Attribute Name="DataNachal" Type="date" Description="Дата начала" Required="1" />
    <Attribute Name="VremyaNachal" Type="datetime" DefaultFormat="{0:dd.MM.yyyy}" Description="Время начала" Required="1" />
    <Attribute Name="DataOkonch" Type="date" Description="Дата окончания" />
    <Attribute Name="VremyaOkonch" Type="datetime" DefaultFormat="{0:dd.MM.yyyy}" Description="Время окончания" />
    <Attribute Name="ZnachenPolya" Type="string" Description="Значение поля" CharacterMaximumLength="4096" Required="1" />
    <Child Name="CdaSvedenMedicRabotnAppointment" Type="AKUZ.CDA_SVEDEN_MEDIC_RABOTN_APPOINTMENT" Description="Сведения о медицинском работнике" ChildAttribute="CdaRezhimAppointment" Required="1" />
    <Parent Name="CdaSectionRegimeAppointment" Type="AKUZ.CDA_SECTION_REGIME_APPOINTMENT" Description="Режим и рекомендации" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_REZHIM_APPOINTMENT">
      <Map Name="CdaRezhimAppointmentID" Column="CdaRezhimAppointmentID" />
      <Map Name="DataNachal" Column="DataNachal" />
      <Map Name="VremyaNachal" Column="VremyaNachal" />
      <Map Name="DataOkonch" Column="DataOkonch" />
      <Map Name="VremyaOkonch" Column="VremyaOkonch" />
      <Map Name="ZnachenPolya" Column="ZnachenPolya" />
      <Map Name="CdaSectionRegimeAppointment" Column="CdaSectionRegimeAppointment" />
    </Table>
  </DbMapping>
</Entity>