<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="PHARM" 
Name="ADDITIONAL_BARCODE_ATTRIBUTE" 
Description="Доп атрибуты" 
PrimaryKey="AdditionalBarcodeAttributeID">
  <Fields>
    <Attribute Name="AdditionalBarcodeAttributeID" Type="guid" Description="Идентификатор" />
    <Parent Name="BarcodeTemplateAttribute" Type="PHARM.BARCODE_TEMPLATE_ATTRIBUTE" Description="Атрибуты шаблона штрихкода" Required="1" />
    <Attribute Name="Name" Type="string" Description="Наименования атрибута сущности" Required="1" />
    <Attribute Name="Lexem" Type="string" Description="Лексема" CharacterMaximumLength="1500" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_ADDITIONAL_BARCODE_ATTRIBUTE">
      <Map Name="AdditionalBarcodeAttributeID" Column="AdditionalBarcodeAttributeID" />
      <Map Name="BarcodeTemplateAttribute" Column="BarcodeTemplateAttribute" />
      <Map Name="Name" Column="Name" />
      <Map Name="Lexem" Column="Lexem" />
    </Table>
  </DbMapping>
</Entity>