using System; using System.Collections; using BP.DA; using BP.En; using BP.Sys; namespace BP.ZS { /// /// 评估机构 attr /// public class PingGuJiGouAttr : EntityNoNameAttr { public const string Faren = "Faren"; public const string Tel = "Tel"; } /// /// 评估机构 /// public class PingGuJiGou : EntityNoName { #region 属性. /// /// UI界面上的访问控制 /// public override UAC HisUAC { get { UAC uac = new UAC(); uac.OpenAll(); return uac; } } #endregion 属性. #region 构造方法 /// /// 评估机构 /// public PingGuJiGou() { } /// /// 评估机构 /// /// public PingGuJiGou(string _No) : base(_No) { } /// /// 评估机构Map /// public override Map EnMap { get { if (this._enMap != null) return this._enMap; Map map = new Map("ZS_PingGuJiGou", "评估机构"); map.IsAutoGenerNo = true; map.CodeStruct = "4"; map.AddTBStringPK(ShiShiDanWeiAttr.No, null, "编号", true, true, 4, 4, 20); map.AddTBString(ShiShiDanWeiAttr.Name, null, "名称", true, false, 0, 50, 50); map.AddTBString(PingGuJiGouAttr.Faren, null, "法人", false, true, 0, 50, 50); map.AddTBString(PingGuJiGouAttr.Tel, null, "管理人员", false, true, 0, 50, 50); this._enMap = map; return this._enMap; } } #endregion } /// /// 评估机构s /// public class PingGuJiGous : EntitiesNoName { /// /// 评估机构s /// public PingGuJiGous() { } /// /// 得到它的 Entity /// public override Entity GetNewEntity { get { return new PingGuJiGou(); } } } }