|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using BP.DA;
|
|
|
|
|
using BP.En;
|
|
|
|
|
using BP.Port;
|
|
|
|
|
|
|
|
|
|
namespace BP.CN
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ʡ<><CAA1>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SFAttr : EntityNoNameAttr
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Ƭ<><C6AC>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string FK_PQ = "FK_PQ";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string Names = "Names";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string JC = "JC";
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ʡ<><CAA1>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SF : EntityNoName
|
|
|
|
|
{
|
|
|
|
|
#region <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Ƭ<><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FK_PQ
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this.GetValStrByKey(SFAttr.FK_PQ);
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
this.SetValByKey(SFAttr.FK_PQ, value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Ƭ<><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FK_PQT
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this.GetValRefTextByKey(SFAttr.FK_PQ);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// С<><D0A1><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Names
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this.GetValStrByKey(SFAttr.Names);
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
this.SetValByKey(SFAttr.Names, value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string JC
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this.GetValStrByKey(SFAttr.JC);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region <20><><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public override UAC HisUAC
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
UAC uac = new UAC();
|
|
|
|
|
uac.OpenForSysAdmin();
|
|
|
|
|
return uac;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ʡ<><CAA1>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public SF() { }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ʡ<><CAA1>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="no"></param>
|
|
|
|
|
public SF(string no)
|
|
|
|
|
: base(no)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Map
|
|
|
|
|
/// </summary>
|
|
|
|
|
public override Map EnMap
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
if (this._enMap != null)
|
|
|
|
|
return this._enMap;
|
|
|
|
|
Map map = new Map( "CN_SF", "ʡ<><CAA1>");
|
|
|
|
|
|
|
|
|
|
#region <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
map.EnDBUrl = new DBUrl(DBUrlType.AppCenterDSN);
|
|
|
|
|
map.DepositaryOfMap = Depositary.Application;
|
|
|
|
|
map.DepositaryOfEntity= Depositary.Application;
|
|
|
|
|
map.EnType = EnType.App;
|
|
|
|
|
map.CodeStruct = "4";
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region <20>ֶ<EFBFBD>
|
|
|
|
|
map.AddTBStringPK(SFAttr.No, null, "<22><><EFBFBD><EFBFBD>", true, false, 2, 2, 2);
|
|
|
|
|
map.AddTBString(SFAttr.Name, null, "<22><><EFBFBD><EFBFBD>", true, false, 0, 50, 200);
|
|
|
|
|
map.AddTBString(SFAttr.Names, null, "С<><D0A1><EFBFBD><EFBFBD>", true, false, 0, 50, 200);
|
|
|
|
|
map.AddTBString(SFAttr.JC, null, "<22><><EFBFBD><EFBFBD>", true, false, 0, 50, 200);
|
|
|
|
|
map.AddDDLEntities(SFAttr.FK_PQ, null, "Ƭ<><C6AC>", new PQs(), true);
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
this._enMap = map;
|
|
|
|
|
return this._enMap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ʡ<><CAA1>s
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SFs : EntitiesNoName
|
|
|
|
|
{
|
|
|
|
|
#region ʡ<><CAA1>.
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD> Entity
|
|
|
|
|
/// </summary>
|
|
|
|
|
public override Entity GetNewEntity
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return new SF();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region <20><><EFBFBD>췽<EFBFBD><ECB7BD>
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ʡ<><CAA1>s
|
|
|
|
|
/// </summary>
|
|
|
|
|
public SFs() { }
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|