<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="STOR" 
Name="STORAGE_RESPONSIBLE_PERSON_LINK" 
Description="Связка склада и ответственного лица" 
PrimaryKey="StorageResponsiblePersonLinkID">
  <Fields>
    <Attribute Name="StorageResponsiblePersonLinkID" Type="guid" Description="Идентификатор" />
    <Parent Name="Storage" Type="STOR.STORAGE" Description="Склад" Required="1" />
    <Parent Name="Post" Type="STOR.POST" Description="Материально ответственное лицо" Required="1" />
    <Attribute Name="DateBegin" Type="date" DefaultFormat="{0:dd.MM.yyyy}" Description="Дата начала" Required="1" />
    <Attribute Name="DateEnd" Type="date" DefaultFormat="{0:dd.MM.yyyy}" Description="Дата окончания" />
  </Fields>
  <DbMapping>
    <Table name="T_STORAGE_RESPONSIBLE_PERSON_LINK">
      <Map Name="StorageResponsiblePersonLinkID" Column="StorageResponsiblePersonLinkID" />
      <Map Name="Storage" Column="Storage" />
      <Map Name="Post" Column="Post" />
      <Map Name="DateBegin" Column="DateBegin" />
      <Map Name="DateEnd" Column="DateEnd" />
    </Table>
  </DbMapping>
</Entity>