using System;
using System.Collections;
using BP.DA;
using BP.En;
using BP.Sys;
namespace BP.ZS
{
///
/// 区县 attr
///
public class QuXianAttr : EntityNoNameAttr
{
}
///
/// 区县
///
public class QuXian : EntityNoName
{
#region 属性.
///
/// UI界面上的访问控制
///
public override UAC HisUAC
{
get
{
UAC uac = new UAC();
uac.OpenAll();
return uac;
}
}
#endregion 属性.
#region 构造方法
///
/// 区县
///
public QuXian()
{
}
///
/// 区县
///
///
public QuXian(string _No) : base(_No) { }
///
/// 区县Map
///
public override Map EnMap
{
get
{
if (this._enMap != null)
return this._enMap;
Map map = new Map("ZS_QuXian", "区县");
map.IsAutoGenerNo = true;
map.CodeStruct = "4";
map.AddTBStringPK(QuXianAttr.No, null, "编号", true, true, 0, 50, 50);
map.AddTBString(QuXianAttr.Name, null, "名称", true, false, 0, 50, 50);
this._enMap = map;
return this._enMap;
}
}
#endregion
}
///
/// 区县s
///
public class QuXians : EntitiesNoName
{
///
/// 区县s
///
public QuXians() { }
///
/// 得到它的 Entity
///
public override Entity GetNewEntity
{
get
{
return new QuXian();
}
}
}
}