123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WebAPIBase.NetCore.BusinessCore
- {
- public class FdcFunction
- {
- private string _FunctionStructureCode;
- private string _FunctionStructureName;
- private string _ParentCode;
- private int _Deep;
- private int _IsSystemClass;
- private int rightLimitPoint;
- public bool UnitRelated;
- public bool SystemGroupRelated;
- public string FunctionStructureCode
- {
- get
- {
- return _FunctionStructureCode;
- }
- set
- {
- _FunctionStructureCode = value;
- }
- }
- public string FunctionStructureName
- {
- get
- {
- return _FunctionStructureName;
- }
- set
- {
- _FunctionStructureName = value;
- }
- }
- public string ParentCode
- {
- get
- {
- return _ParentCode;
- }
- set
- {
- _ParentCode = value;
- }
- }
- public int Deep
- {
- get
- {
- return _Deep;
- }
- set
- {
- _Deep = value;
- }
- }
- public int IsSystemClass
- {
- get
- {
- return _IsSystemClass;
- }
- set
- {
- _IsSystemClass = value;
- }
- }
- public int RightLimitPoint
- {
- get
- {
- return rightLimitPoint;
- }
- set
- {
- rightLimitPoint = value;
- switch (rightLimitPoint)
- {
- case 0:
- UnitRelated = false;
- SystemGroupRelated = false;
- break;
- case 1:
- UnitRelated = true;
- SystemGroupRelated = false;
- break;
- case 2:
- UnitRelated = false;
- SystemGroupRelated = true;
- break;
- case 3:
- UnitRelated = true;
- SystemGroupRelated = true;
- break;
- default:
- UnitRelated = true;
- SystemGroupRelated = true;
- break;
- }
- }
- }
- }
- }
|