<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="RDS" 
Name="BENEFITS_CATEGORY" 
Description="Категории льгот" 
PrimaryKey="BenefitsCategoryID">
  <Fields>
    <Attribute Name="BenefitsCategoryID" Type="guid" Description="Идентификатор" />
    <Parent Name="Lmsz" Type="RDS.LMSZ" Description="Локальная мера социальной защиты" Required="1" />
    <Attribute Name="LocalCategoryCode" Type="string" Description="Код локальной категории" CharacterMaximumLength="10" Required="1" />
    <Attribute Name="Name" Type="string" Description="Наименование" CharacterMaximumLength="100" Required="1" />
    <Attribute Name="BeginDate" Type="date" Description="Дата с" Required="1" />
    <Attribute Name="DateEnd" Type="date" Description="Дата по" />
  </Fields>
  <DbMapping>
    <Table name="T_BENEFITS_CATEGORY">
      <Map Name="BenefitsCategoryID" Column="BenefitsCategoryID" />
      <Map Name="Lmsz" Column="Lmsz" />
      <Map Name="LocalCategoryCode" Column="LocalCategoryCode" />
      <Map Name="Name" Column="Name" />
      <Map Name="BeginDate" Column="BeginDate" />
      <Map Name="DateEnd" Column="DateEnd" />
    </Table>
  </DbMapping>
</Entity>