This commit is contained in:
owenchen committed 2026-08-19 14:11:17 +08:00
commit f05d2d215f
678 files changed
+73865

No files matched your search

@@ -0,0 +1,18 @@
import { SearchFilter } from "./searchFilter";
import { GridColumnInfo } from "./gridColumnInfo";
import { SelectOption } from "./selectOption";
export class AbstractSearchCriteria
{
public limit: number = 0;
public page: number = 0;
public clear: number = 0;
public orderby: string = "";
public orderbytag: string = "";
public Filter: SearchFilter[] = [];
public IsModal: boolean =false;
public ReportName: string = "";
public GridColumns: GridColumnInfo[] = [];
public SelectOptions: SelectOption[] = [];
}
@@ -0,0 +1,7 @@
export class BiometricLoginChallengeDto
{
public RequestOptionsJson: string = "";
public ChallengeId: string = "";
}
@@ -0,0 +1,6 @@
export class BiometricRegistrationResultDto
{
public CredentialIdBase64Url: string = "";
}
@@ -0,0 +1,9 @@
export class FinishBiometricLoginData
{
public Username: string = "";
public AssertionJson: string = "";
public RequestOptionsJson: string = "";
public ChallengeId: string = "";
}
@@ -0,0 +1,7 @@
export class FinishBiometricRegistrationData
{
public AttestationJson: string = "";
public CreationOptionsJson: string = "";
}
+11
View File
@@ -0,0 +1,11 @@
export class GridColumnInfo
{
public title: string = "";
public dataIndex: string = "";
public sequence: number = 0;
public align: string = "";
public hidden: string = "";
public format: string = "";
}
+8
View File
@@ -0,0 +1,8 @@
export class JwtInfo
{
public AccessToken: string = "";
public RefreshToken: string = "";
public CreatedTime: Date = new Date();
}
+9
View File
@@ -0,0 +1,9 @@
import { LocaleDisplayData } from "./localeDisplayData";
export class LocaleData
{
public Inserts: LocaleDisplayData[] = [];
public Updates: LocaleDisplayData[] = [];
public Deletes: LocaleDisplayData[] = [];
}
@@ -0,0 +1,9 @@
import { LocaleEntity } from "./localeEntity";
export class LocaleDisplayData extends LocaleEntity
{
public OrgGroupName: string = "";
public OrgLang: string = "";
public OrgName: string = "";
}
+34
View File
@@ -0,0 +1,34 @@
export class LocaleEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public GroupName: string = "";
public Lang: string = "";
public Name: string = "";
public OrderBy: number = 0;
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public Value: string = "";
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly GROUP_NAME : string ='GroupName';
static readonly LANG : string ='Lang';
static readonly NAME : string ='Name';
static readonly ORDER_BY : string ='OrderBy';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly VALUE : string ='Value';
static readonly DB_NAME_LOCALE : string ='locale';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,group_name,lang,name,order_by,updated_by,updated_datetime,value';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_LANG : string ='lang';
static readonly DB_NAME : string ='name';
static readonly DB_ORDER_BY : string ='order_by';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_VALUE : string ='value';
}
+8
View File
@@ -0,0 +1,8 @@
export class LocaleEntityKey
{
public GroupName: string = "";
public Lang: string = "";
public Name: string = "";
}
+8
View File
@@ -0,0 +1,8 @@
import { LocaleDisplayData } from "./localeDisplayData";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class LocaleResultData extends SearchCriteriaResultData
{
public Datas: LocaleDisplayData[] = [];
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class LocaleSearchCriteria extends AbstractSearchCriteria
{
}
+12
View File
@@ -0,0 +1,12 @@
export class LoginData
{
public UserName: string = "";
public AgentUserName: string = "";
public UserMobile: string = "";
public UserPassword: string = "";
public RsaUserPassword: string = "";
public Guid: string = "";
public Culture: string = "";
}
+14
View File
@@ -0,0 +1,14 @@
import { JwtInfo } from "./jwtInfo";
import { SecurityUserPermissionInfo } from "./securityUserPermissionInfo";
export class LoginProfile
{
public Token: JwtInfo = new JwtInfo();
public UserType: string = "";
public Username: string = "";
public UserLocalName: string = "";
public UserEngName: string = "";
public UserMobile: string = "";
public PermissionInfo: SecurityUserPermissionInfo = new SecurityUserPermissionInfo();
}
+11
View File
@@ -0,0 +1,11 @@
export class RegisterData
{
public UserName: string = "";
public UserMobile: string = "";
public UserPassword: string = "";
public ConfirmUserPassword: string = "";
public RsaUserPassword: string = "";
public Agree: string = "";
}
@@ -0,0 +1,10 @@
export class SearchCriteriaResultData
{
public Limit: number = 0;
public Page: number = 0;
public Total: number = 0;
public Sql: string = "";
public ErrorMessage: string = "";
}
+11
View File
@@ -0,0 +1,11 @@
export class SearchFilter
{
public Column: string = "";
public Type: string = "";
public Operator: string = "";
public Value: string = "";
public Value1: string = "";
public Values: string[]= [];
}
+11
View File
@@ -0,0 +1,11 @@
import { SecurityActorEntity } from "./securityActorEntity";
import { SecurityActorGroupViewEntity } from "./securityActorGroupViewEntity";
import { SecurityUserActorViewEntity } from "./securityUserActorViewEntity";
export class SecurityActorData
{
public SecurityActor: SecurityActorEntity = new SecurityActorEntity();
public SecurityActorGroups: SecurityActorGroupViewEntity[] = [];
public SecurityUserActors: SecurityUserActorViewEntity[] = [];
}
@@ -0,0 +1,28 @@
export class SecurityActorEntity
{
public ActorEngName: string = "";
public ActorLocalName: string = "";
public ActorName: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly ACTOR_ENG_NAME : string ='ActorEngName';
static readonly ACTOR_LOCAL_NAME : string ='ActorLocalName';
static readonly ACTOR_NAME : string ='ActorName';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_ACTOR : string ='security_actor';
static readonly DB_NAME_FIELDS : string ='actor_eng_name,actor_local_name,actor_name,created_by,created_datetime,updated_by,updated_datetime';
static readonly DB_ACTOR_ENG_NAME : string ='actor_eng_name';
static readonly DB_ACTOR_LOCAL_NAME : string ='actor_local_name';
static readonly DB_ACTOR_NAME : string ='actor_name';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,25 @@
export class SecurityActorGroupEntity
{
public ActorName: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public GroupName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly ACTOR_NAME : string ='ActorName';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly GROUP_NAME : string ='GroupName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_ACTOR_GROUP : string ='security_actor_group';
static readonly DB_NAME_FIELDS : string ='actor_name,created_by,created_datetime,group_name,updated_by,updated_datetime';
static readonly DB_ACTOR_NAME : string ='actor_name';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,7 @@
export class SecurityActorGroupEntityKey
{
public ActorName: string = "";
public GroupName: string = "";
}
@@ -0,0 +1,19 @@
export class SecurityActorGroupViewEntity
{
public ActorLocalName: string = "";
public ActorName: string = "";
public GroupLocalName: string = "";
public GroupName: string = "";
static readonly ACTOR_LOCAL_NAME : string ='ActorLocalName';
static readonly ACTOR_NAME : string ='ActorName';
static readonly GROUP_LOCAL_NAME : string ='GroupLocalName';
static readonly GROUP_NAME : string ='GroupName';
static readonly DB_NAME_SECURITY_ACTOR_GROUP_VIEW : string ='security_actor_group_view';
static readonly DB_NAME_FIELDS : string ='actor_local_name,actor_name,group_local_name,group_name';
static readonly DB_ACTOR_LOCAL_NAME : string ='actor_local_name';
static readonly DB_ACTOR_NAME : string ='actor_name';
static readonly DB_GROUP_LOCAL_NAME : string ='group_local_name';
static readonly DB_GROUP_NAME : string ='group_name';
}
@@ -0,0 +1,8 @@
import { SecurityActorEntity } from "./securityActorEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityActorResultData extends SearchCriteriaResultData
{
public Datas: SecurityActorEntity[] = [];
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityActorSearchCriteria extends AbstractSearchCriteria
{
}
@@ -0,0 +1,10 @@
import { SecurityFunctionDisplayData } from "./securityFunctionDisplayData";
import { SecurityFunctionMapViewEntity } from "./securityFunctionMapViewEntity";
export class SecurityFunctionData
{
public SecurityFunction: SecurityFunctionDisplayData = new SecurityFunctionDisplayData();
public SecurityFunctionMapParents: SecurityFunctionMapViewEntity[] = [];
public SecurityFunctionMapSons: SecurityFunctionMapViewEntity[] = [];
}
@@ -0,0 +1,11 @@
import { SecurityFunctionEntity } from "./securityFunctionEntity";
export class SecurityFunctionDisplayData extends SecurityFunctionEntity
{
public FunctionNameParent: string = "";
public Orderby: number = 0;
public PermissionName: string = "";
public SonSecurityFunctions: string[]= [];
static readonly PERMISSION_NAME : string ='PermissionName';
}
@@ -0,0 +1,43 @@
export class SecurityFunctionEntity
{
public ApiRoute: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public FunctionEngName: string = "";
public FunctionIndc: string = "";
public FunctionLocalName: string = "";
public FunctionName: string = "";
public Icon: string = "";
public PageName: string = "";
public PageUrl: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly API_ROUTE : string ='ApiRoute';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly FUNCTION_ENG_NAME : string ='FunctionEngName';
static readonly FUNCTION_INDC : string ='FunctionIndc';
static readonly FUNCTION_LOCAL_NAME : string ='FunctionLocalName';
static readonly FUNCTION_NAME : string ='FunctionName';
static readonly ICON : string ='Icon';
static readonly PAGE_NAME : string ='PageName';
static readonly PAGE_URL : string ='PageUrl';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_FUNCTION : string ='security_function';
static readonly DB_NAME_FIELDS : string ='api_route,created_by,created_datetime,function_eng_name,function_indc,function_local_name,function_name,icon,page_name,page_url,updated_by,updated_datetime';
static readonly DB_API_ROUTE : string ='api_route';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_FUNCTION_ENG_NAME : string ='function_eng_name';
static readonly DB_FUNCTION_INDC : string ='function_indc';
static readonly DB_FUNCTION_LOCAL_NAME : string ='function_local_name';
static readonly DB_FUNCTION_NAME : string ='function_name';
static readonly DB_ICON : string ='icon';
static readonly DB_PAGE_NAME : string ='page_name';
static readonly DB_PAGE_URL : string ='page_url';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,28 @@
export class SecurityFunctionMapEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public FunctionNameParent: string = "";
public FunctionNameSon: string = "";
public Orderby: number = 0;
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly FUNCTION_NAME_PARENT : string ='FunctionNameParent';
static readonly FUNCTION_NAME_SON : string ='FunctionNameSon';
static readonly ORDERBY : string ='Orderby';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_FUNCTION_MAP : string ='security_function_map';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,function_name_parent,function_name_son,orderby,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_FUNCTION_NAME_PARENT : string ='function_name_parent';
static readonly DB_FUNCTION_NAME_SON : string ='function_name_son';
static readonly DB_ORDERBY : string ='orderby';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,7 @@
export class SecurityFunctionMapEntityKey
{
public FunctionNameParent: string = "";
public FunctionNameSon: string = "";
}
@@ -0,0 +1,25 @@
export class SecurityFunctionMapViewEntity
{
public Orderby: number = 0;
public ParentFunctionLocalName: string = "";
public ParentFunctionName: string = "";
public SonFunctionLocalName: string = "";
public SonFunctionName: string = "";
public SonPageName: string = "";
static readonly ORDERBY : string ='Orderby';
static readonly PARENT_FUNCTION_LOCAL_NAME : string ='ParentFunctionLocalName';
static readonly PARENT_FUNCTION_NAME : string ='ParentFunctionName';
static readonly SON_FUNCTION_LOCAL_NAME : string ='SonFunctionLocalName';
static readonly SON_FUNCTION_NAME : string ='SonFunctionName';
static readonly SON_PAGE_NAME : string ='SonPageName';
static readonly DB_NAME_SECURITY_FUNCTION_MAP_VIEW : string ='security_function_map_view';
static readonly DB_NAME_FIELDS : string ='orderby,parent_function_local_name,parent_function_name,son_function_local_name,son_function_name,son_page_name';
static readonly DB_ORDERBY : string ='orderby';
static readonly DB_PARENT_FUNCTION_LOCAL_NAME : string ='parent_function_local_name';
static readonly DB_PARENT_FUNCTION_NAME : string ='parent_function_name';
static readonly DB_SON_FUNCTION_LOCAL_NAME : string ='son_function_local_name';
static readonly DB_SON_FUNCTION_NAME : string ='son_function_name';
static readonly DB_SON_PAGE_NAME : string ='son_page_name';
}
@@ -0,0 +1,11 @@
import { SecurityFunctionDisplayData } from "./securityFunctionDisplayData";
import { SecurityFunctionMapEntity } from "./securityFunctionMapEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityFunctionResultData extends SearchCriteriaResultData
{
public SecurityFunctionDisplayDatas: SecurityFunctionDisplayData[] = [];
public SecurityFunctionMaps: SecurityFunctionMapEntity[] = [];
static readonly BOOTUP : string ='BOOTUP';
}
@@ -0,0 +1,10 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityFunctionSearchCriteria extends AbstractSearchCriteria
{
public FunctionLocalName: string = "";
public FunctionName: string = "";
public FunctionIndc: string = "";
public FunctionIndcEnable?: Date= null!;
}
@@ -0,0 +1,8 @@
import { SecurityGeneratorNumberEntity } from "./securityGeneratorNumberEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityGeneratorNumberData extends SearchCriteriaResultData
{
public datas: SecurityGeneratorNumberEntity[] = [];
}
@@ -0,0 +1,43 @@
export class SecurityGeneratorNumberEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public Format: string = "";
public GeneratorId: number = 0;
public LastGeneratorDate: Date = new Date();
public NextId: number = 0;
public Prefix: string = "";
public RefreshPeriod: string = "";
public SubsystemId: string = "";
public SystemId: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly FORMAT : string ='Format';
static readonly GENERATOR_ID : string ='GeneratorId';
static readonly LAST_GENERATOR_DATE : string ='LastGeneratorDate';
static readonly NEXT_ID : string ='NextId';
static readonly PREFIX : string ='Prefix';
static readonly REFRESH_PERIOD : string ='RefreshPeriod';
static readonly SUBSYSTEM_ID : string ='SubsystemId';
static readonly SYSTEM_ID : string ='SystemId';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_GENERATOR_NUMBER : string ='security_generator_number';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,format,generator_id,last_generator_date,next_id,prefix,refresh_period,subsystem_id,system_id,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_FORMAT : string ='format';
static readonly DB_GENERATOR_ID : string ='generator_id';
static readonly DB_LAST_GENERATOR_DATE : string ='last_generator_date';
static readonly DB_NEXT_ID : string ='next_id';
static readonly DB_PREFIX : string ='prefix';
static readonly DB_REFRESH_PERIOD : string ='refresh_period';
static readonly DB_SUBSYSTEM_ID : string ='subsystem_id';
static readonly DB_SYSTEM_ID : string ='system_id';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,8 @@
import { SecurityGeneratorNumberEntity } from "./securityGeneratorNumberEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityGeneratorNumberResultData extends SearchCriteriaResultData
{
public Datas: SecurityGeneratorNumberEntity[] = [];
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityGeneratorNumberSearchCriteria extends AbstractSearchCriteria
{
}
+13
View File
@@ -0,0 +1,13 @@
import { SecurityGroupEntity } from "./securityGroupEntity";
import { SecurityGroupPermissionViewDisplayData } from "./securityGroupPermissionViewDisplayData";
import { SecurityGroupPermissionDependentViewDisplayData } from "./securityGroupPermissionDependentViewDisplayData";
import { SecurityActorGroupViewEntity } from "./securityActorGroupViewEntity";
export class SecurityGroupData
{
public SecurityGroup: SecurityGroupEntity = new SecurityGroupEntity();
public SecurityGroupPermissionViews: SecurityGroupPermissionViewDisplayData[] = [];
public SecurityGroupPermissionDependentViews: SecurityGroupPermissionDependentViewDisplayData[] = [];
public SecurityActorGroups: SecurityActorGroupViewEntity[] = [];
}
@@ -0,0 +1,28 @@
export class SecurityGroupEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public GroupEngName: string = "";
public GroupLocalName: string = "";
public GroupName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly GROUP_ENG_NAME : string ='GroupEngName';
static readonly GROUP_LOCAL_NAME : string ='GroupLocalName';
static readonly GROUP_NAME : string ='GroupName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_GROUP : string ='security_group';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,group_eng_name,group_local_name,group_name,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_GROUP_ENG_NAME : string ='group_eng_name';
static readonly DB_GROUP_LOCAL_NAME : string ='group_local_name';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,40 @@
export class SecurityGroupPermissionDependentEntity
{
public AmendIndc: string = "";
public CreateIndc: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public DeleteIndc: string = "";
public DependentDetailName: string = "";
public GroupName: string = "";
public PermissionName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public ViewIndc: string = "";
static readonly AMEND_INDC : string ='AmendIndc';
static readonly CREATE_INDC : string ='CreateIndc';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DELETE_INDC : string ='DeleteIndc';
static readonly DEPENDENT_DETAIL_NAME : string ='DependentDetailName';
static readonly GROUP_NAME : string ='GroupName';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly VIEW_INDC : string ='ViewIndc';
static readonly DB_NAME_SECURITY_GROUP_PERMISSION_DEPENDENT : string ='security_group_permission_dependent';
static readonly DB_NAME_FIELDS : string ='amend_indc,create_indc,created_by,created_datetime,delete_indc,dependent_detail_name,group_name,permission_name,updated_by,updated_datetime,view_indc';
static readonly DB_AMEND_INDC : string ='amend_indc';
static readonly DB_CREATE_INDC : string ='create_indc';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DELETE_INDC : string ='delete_indc';
static readonly DB_DEPENDENT_DETAIL_NAME : string ='dependent_detail_name';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_VIEW_INDC : string ='view_indc';
}
@@ -0,0 +1,8 @@
export class SecurityGroupPermissionDependentEntityKey
{
public DependentDetailName: string = "";
public GroupName: string = "";
public PermissionName: string = "";
}
@@ -0,0 +1,14 @@
import { SecurityGroupPermissionDependentViewEntity } from "./securityGroupPermissionDependentViewEntity";
export class SecurityGroupPermissionDependentViewDisplayData extends SecurityGroupPermissionDependentViewEntity
{
public IsView: boolean =false;
public IsCreate: boolean =false;
public IsAmend: boolean =false;
public IsDelete: boolean =false;
static readonly IS_VIEW : string ='IsView';
static readonly IS_CREATE : string ='IsCreate';
static readonly IS_AMEND : string ='IsAmend';
static readonly IS_DELETE : string ='IsDelete';
}
@@ -0,0 +1,37 @@
export class SecurityGroupPermissionDependentViewEntity
{
public AmendIndc: string = "";
public CreateIndc: string = "";
public DeleteIndc: string = "";
public Dependent: string = "";
public DependentDetailDescription: string = "";
public DependentDetailName: string = "";
public GroupName: string = "";
public PermissionDescription: string = "";
public PermissionName: string = "";
public ViewIndc: string = "";
static readonly AMEND_INDC : string ='AmendIndc';
static readonly CREATE_INDC : string ='CreateIndc';
static readonly DELETE_INDC : string ='DeleteIndc';
static readonly DEPENDENT : string ='Dependent';
static readonly DEPENDENT_DETAIL_DESCRIPTION : string ='DependentDetailDescription';
static readonly DEPENDENT_DETAIL_NAME : string ='DependentDetailName';
static readonly GROUP_NAME : string ='GroupName';
static readonly PERMISSION_DESCRIPTION : string ='PermissionDescription';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly VIEW_INDC : string ='ViewIndc';
static readonly DB_NAME_SECURITY_GROUP_PERMISSION_DEPENDENT_VIEW : string ='security_group_permission_dependent_view';
static readonly DB_NAME_FIELDS : string ='amend_indc,create_indc,delete_indc,dependent,dependent_detail_description,dependent_detail_name,group_name,permission_description,permission_name,view_indc';
static readonly DB_AMEND_INDC : string ='amend_indc';
static readonly DB_CREATE_INDC : string ='create_indc';
static readonly DB_DELETE_INDC : string ='delete_indc';
static readonly DB_DEPENDENT : string ='dependent';
static readonly DB_DEPENDENT_DETAIL_DESCRIPTION : string ='dependent_detail_description';
static readonly DB_DEPENDENT_DETAIL_NAME : string ='dependent_detail_name';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_PERMISSION_DESCRIPTION : string ='permission_description';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_VIEW_INDC : string ='view_indc';
}
@@ -0,0 +1,40 @@
export class SecurityGroupPermissionEntity
{
public AmendIndc: string = "";
public CreateIndc: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public DeleteIndc: string = "";
public Dependent: string = "";
public GroupName: string = "";
public PermissionName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public ViewIndc: string = "";
static readonly AMEND_INDC : string ='AmendIndc';
static readonly CREATE_INDC : string ='CreateIndc';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DELETE_INDC : string ='DeleteIndc';
static readonly DEPENDENT : string ='Dependent';
static readonly GROUP_NAME : string ='GroupName';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly VIEW_INDC : string ='ViewIndc';
static readonly DB_NAME_SECURITY_GROUP_PERMISSION : string ='security_group_permission';
static readonly DB_NAME_FIELDS : string ='amend_indc,create_indc,created_by,created_datetime,delete_indc,dependent,group_name,permission_name,updated_by,updated_datetime,view_indc';
static readonly DB_AMEND_INDC : string ='amend_indc';
static readonly DB_CREATE_INDC : string ='create_indc';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DELETE_INDC : string ='delete_indc';
static readonly DB_DEPENDENT : string ='dependent';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_VIEW_INDC : string ='view_indc';
}
@@ -0,0 +1,7 @@
export class SecurityGroupPermissionEntityKey
{
public GroupName: string = "";
public PermissionName: string = "";
}
@@ -0,0 +1,14 @@
import { SecurityGroupPermissionViewEntity } from "./securityGroupPermissionViewEntity";
export class SecurityGroupPermissionViewDisplayData extends SecurityGroupPermissionViewEntity
{
public IsView: boolean =false;
public IsCreate: boolean =false;
public IsAmend: boolean =false;
public IsDelete: boolean =false;
static readonly IS_VIEW : string ='IsView';
static readonly IS_CREATE : string ='IsCreate';
static readonly IS_AMEND : string ='IsAmend';
static readonly IS_DELETE : string ='IsDelete';
}
@@ -0,0 +1,31 @@
export class SecurityGroupPermissionViewEntity
{
public AmendIndc: string = "";
public CreateIndc: string = "";
public DeleteIndc: string = "";
public Dependent: string = "";
public GroupName: string = "";
public PermissionDescription: string = "";
public PermissionName: string = "";
public ViewIndc: string = "";
static readonly AMEND_INDC : string ='AmendIndc';
static readonly CREATE_INDC : string ='CreateIndc';
static readonly DELETE_INDC : string ='DeleteIndc';
static readonly DEPENDENT : string ='Dependent';
static readonly GROUP_NAME : string ='GroupName';
static readonly PERMISSION_DESCRIPTION : string ='PermissionDescription';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly VIEW_INDC : string ='ViewIndc';
static readonly DB_NAME_SECURITY_GROUP_PERMISSION_VIEW : string ='security_group_permission_view';
static readonly DB_NAME_FIELDS : string ='amend_indc,create_indc,delete_indc,dependent,group_name,permission_description,permission_name,view_indc';
static readonly DB_AMEND_INDC : string ='amend_indc';
static readonly DB_CREATE_INDC : string ='create_indc';
static readonly DB_DELETE_INDC : string ='delete_indc';
static readonly DB_DEPENDENT : string ='dependent';
static readonly DB_GROUP_NAME : string ='group_name';
static readonly DB_PERMISSION_DESCRIPTION : string ='permission_description';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_VIEW_INDC : string ='view_indc';
}
@@ -0,0 +1,8 @@
import { SecurityGroupEntity } from "./securityGroupEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityGroupResultData extends SearchCriteriaResultData
{
public Datas: SecurityGroupEntity[] = [];
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityGroupSearchCriteria extends AbstractSearchCriteria
{
}
@@ -0,0 +1,43 @@
export class SecurityInitializerTickViewEntity
{
public SecurityActorUpd?: Date= null!;
public SecurityActorGroupUpd?: Date= null!;
public SecurityFunctionUpd?: Date= null!;
public SecurityFunctionMapUpd?: Date= null!;
public ProductUpd?: Date= null!;
public SecurityGroupPermissionUpd?: Date= null!;
public SecurityGroupPermissionDependentUpd?: Date= null!;
public SecurityMasterUpd?: Date= null!;
public SecurityPermissionUpd?: Date= null!;
public SecurityPermissionDependentUpd?: Date= null!;
public SecurityUserUpd?: Date= null!;
public SecurityUserActorUpd?: Date= null!;
static readonly SECURITY_ACTOR_UPD : string ='SecurityActorUpd';
static readonly SECURITY_ACTOR_GROUP_UPD : string ='SecurityActorGroupUpd';
static readonly SECURITY_FUNCTION_UPD : string ='SecurityFunctionUpd';
static readonly SECURITY_FUNCTION_MAP_UPD : string ='SecurityFunctionMapUpd';
static readonly PRODUCT_UPD : string ='ProductUpd';
static readonly SECURITY_GROUP_PERMISSION_UPD : string ='SecurityGroupPermissionUpd';
static readonly SECURITY_GROUP_PERMISSION_DEPENDENT_UPD : string ='SecurityGroupPermissionDependentUpd';
static readonly SECURITY_MASTER_UPD : string ='SecurityMasterUpd';
static readonly SECURITY_PERMISSION_UPD : string ='SecurityPermissionUpd';
static readonly SECURITY_PERMISSION_DEPENDENT_UPD : string ='SecurityPermissionDependentUpd';
static readonly SECURITY_USER_UPD : string ='SecurityUserUpd';
static readonly SECURITY_USER_ACTOR_UPD : string ='SecurityUserActorUpd';
static readonly DB_NAME_SECURITY_INITIALIZER_TICK_VIEW : string ='security_initializer_tick_view';
static readonly DB_NAME_FIELDS : string ='security_actor_upd,security_actor_group_upd,security_function_upd,security_function_map_upd,product_upd,security_group_permission_upd,security_group_permission_dependent_upd,security_master_upd,security_permission_upd,security_permission_dependent_upd,security_user_upd,security_user_actor_upd';
static readonly DB_SECURITY_ACTOR_UPD : string ='security_actor_upd';
static readonly DB_SECURITY_ACTOR_GROUP_UPD : string ='security_actor_group_upd';
static readonly DB_SECURITY_FUNCTION_UPD : string ='security_function_upd';
static readonly DB_SECURITY_FUNCTION_MAP_UPD : string ='security_function_map_upd';
static readonly DB_PRODUCT_UPD : string ='product_upd';
static readonly DB_SECURITY_GROUP_PERMISSION_UPD : string ='security_group_permission_upd';
static readonly DB_SECURITY_GROUP_PERMISSION_DEPENDENT_UPD : string ='security_group_permission_dependent_upd';
static readonly DB_SECURITY_MASTER_UPD : string ='security_master_upd';
static readonly DB_SECURITY_PERMISSION_UPD : string ='security_permission_upd';
static readonly DB_SECURITY_PERMISSION_DEPENDENT_UPD : string ='security_permission_dependent_upd';
static readonly DB_SECURITY_USER_UPD : string ='security_user_upd';
static readonly DB_SECURITY_USER_ACTOR_UPD : string ='security_user_actor_upd';
}
@@ -0,0 +1,28 @@
export class SecurityLockEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public EntityName: string = "";
public LockedByActor: string = "";
public PkeyId: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly ENTITY_NAME : string ='EntityName';
static readonly LOCKED_BY_ACTOR : string ='LockedByActor';
static readonly PKEY_ID : string ='PkeyId';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_LOCK : string ='security_lock';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,entity_name,locked_by_actor,pkey_id,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_ENTITY_NAME : string ='entity_name';
static readonly DB_LOCKED_BY_ACTOR : string ='locked_by_actor';
static readonly DB_PKEY_ID : string ='pkey_id';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,8 @@
export class SecurityLockEntityKey
{
public EntityName: string = "";
public LockedByActor: string = "";
public PkeyId: string = "";
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityLockSearchCriteria extends AbstractSearchCriteria
{
}
@@ -0,0 +1,46 @@
export class SecurityMasterEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public EngDescription: string = "";
public LocalDescription: string = "";
public MasterCategory: string = "";
public MasterCodeItem: string = "";
public MasterSubcategory: string = "";
public OrderBy: number = 0;
public Remark: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public ValidIndc: string = "";
public Value: string = "";
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly ENG_DESCRIPTION : string ='EngDescription';
static readonly LOCAL_DESCRIPTION : string ='LocalDescription';
static readonly MASTER_CATEGORY : string ='MasterCategory';
static readonly MASTER_CODE_ITEM : string ='MasterCodeItem';
static readonly MASTER_SUBCATEGORY : string ='MasterSubcategory';
static readonly ORDER_BY : string ='OrderBy';
static readonly REMARK : string ='Remark';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly VALID_INDC : string ='ValidIndc';
static readonly VALUE : string ='Value';
static readonly DB_NAME_SECURITY_MASTER : string ='security_master';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,eng_description,local_description,master_category,master_code_item,master_subcategory,order_by,remark,updated_by,updated_datetime,valid_indc,value';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_ENG_DESCRIPTION : string ='eng_description';
static readonly DB_LOCAL_DESCRIPTION : string ='local_description';
static readonly DB_MASTER_CATEGORY : string ='master_category';
static readonly DB_MASTER_CODE_ITEM : string ='master_code_item';
static readonly DB_MASTER_SUBCATEGORY : string ='master_subcategory';
static readonly DB_ORDER_BY : string ='order_by';
static readonly DB_REMARK : string ='remark';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_VALID_INDC : string ='valid_indc';
static readonly DB_VALUE : string ='value';
}
@@ -0,0 +1,8 @@
export class SecurityMasterEntityKey
{
public MasterCategory: string = "";
public MasterCodeItem: string = "";
public MasterSubcategory: string = "";
}
@@ -0,0 +1,8 @@
import { SecurityMasterEntity } from "./securityMasterEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityMasterResultData extends SearchCriteriaResultData
{
public Datas: SecurityMasterEntity[] = [];
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityMasterSearchCriteria extends AbstractSearchCriteria
{
}
@@ -0,0 +1,9 @@
import { SecurityPermissionEntity } from "./securityPermissionEntity";
import { SecurityPermissionDependentEntity } from "./securityPermissionDependentEntity";
export class SecurityPermissionData
{
public SecurityPermission: SecurityPermissionEntity = new SecurityPermissionEntity();
public SecurityPermissionDependents: SecurityPermissionDependentEntity[] = [];
}
@@ -0,0 +1,31 @@
export class SecurityPermissionDependentEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public Dependent: string = "";
public DependentDetailDescription: string = "";
public DependentDetailName: string = "";
public PermissionName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DEPENDENT : string ='Dependent';
static readonly DEPENDENT_DETAIL_DESCRIPTION : string ='DependentDetailDescription';
static readonly DEPENDENT_DETAIL_NAME : string ='DependentDetailName';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_PERMISSION_DEPENDENT : string ='security_permission_dependent';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,dependent,dependent_detail_description,dependent_detail_name,permission_name,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DEPENDENT : string ='dependent';
static readonly DB_DEPENDENT_DETAIL_DESCRIPTION : string ='dependent_detail_description';
static readonly DB_DEPENDENT_DETAIL_NAME : string ='dependent_detail_name';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,7 @@
export class SecurityPermissionDependentEntityKey
{
public DependentDetailName: string = "";
public PermissionName: string = "";
}
@@ -0,0 +1,31 @@
export class SecurityPermissionEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public DelegateIndc: string = "";
public Dependent: string = "";
public Description: string = "";
public PermissionName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DELEGATE_INDC : string ='DelegateIndc';
static readonly DEPENDENT : string ='Dependent';
static readonly DESCRIPTION : string ='Description';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_PERMISSION : string ='security_permission';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,delegate_indc,dependent,description,permission_name,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DELEGATE_INDC : string ='delegate_indc';
static readonly DB_DEPENDENT : string ='dependent';
static readonly DB_DESCRIPTION : string ='description';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,25 @@
export class SecurityPermissionFunctionMapEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public FunctionName: string = "";
public PermissionName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly FUNCTION_NAME : string ='FunctionName';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_PERMISSION_FUNCTION_MAP : string ='security_permission_function_map';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,function_name,permission_name,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_FUNCTION_NAME : string ='function_name';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,7 @@
export class SecurityPermissionFunctionMapEntityKey
{
public FunctionName: string = "";
public PermissionName: string = "";
}
@@ -0,0 +1,16 @@
export class SecurityPermissionFunctionMapViewEntity
{
public FunctionName: string = "";
public PageName: string = "";
public PermissionName: string = "";
static readonly FUNCTION_NAME : string ='FunctionName';
static readonly PAGE_NAME : string ='PageName';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly DB_NAME_SECURITY_PERMISSION_FUNCTION_MAP_VIEW : string ='security_permission_function_map_view';
static readonly DB_NAME_FIELDS : string ='function_name,page_name,permission_name';
static readonly DB_FUNCTION_NAME : string ='function_name';
static readonly DB_PAGE_NAME : string ='page_name';
static readonly DB_PERMISSION_NAME : string ='permission_name';
}
@@ -0,0 +1,16 @@
export class SecurityPermissionPolicy
{
static readonly SecurityUser : string ='SecurityUser';
static readonly SecurityMaster : string ='SecurityMaster';
static readonly SecurityGeneratorNumber : string ='SecurityGeneratorNumber';
static readonly SecurityPermission : string ='SecurityPermission';
static readonly SecurityFunction : string ='SecurityFunction';
static readonly SecurityGroup : string ='SecurityGroup';
static readonly SecurityActor : string ='SecurityActor';
static readonly Locale : string ='Locale';
static readonly SecurityUserPreference : string ='SecurityUserPreference';
static readonly SecurityLock : string ='SecurityLock';
static readonly CanSeeAllUser : string ='CanSeeAllUser';
}
@@ -0,0 +1,10 @@
import { SecurityPermissionEntity } from "./securityPermissionEntity";
import { SecurityPermissionDependentEntity } from "./securityPermissionDependentEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityPermissionResultData extends SearchCriteriaResultData
{
public Permissions: SecurityPermissionEntity[] = [];
public Dependents: SecurityPermissionDependentEntity[] = [];
}
@@ -0,0 +1,9 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityPermissionSearchCriteria extends AbstractSearchCriteria
{
public PermissionName: string = "";
public Dependent: string = "";
public DependentEnable?: Date= null!;
}
@@ -0,0 +1,22 @@
export class SecurityPermissionViewEntity
{
public CreatedDatetime: Date = new Date();
public Dependent: string = "";
public Description: string = "";
public FunctionName: string = "";
public PermissionName: string = "";
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DEPENDENT : string ='Dependent';
static readonly DESCRIPTION : string ='Description';
static readonly FUNCTION_NAME : string ='FunctionName';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly DB_NAME_SECURITY_PERMISSION_VIEW : string ='security_permission_view';
static readonly DB_NAME_FIELDS : string ='created_datetime,dependent,description,function_name,permission_name';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DEPENDENT : string ='dependent';
static readonly DB_DESCRIPTION : string ='description';
static readonly DB_FUNCTION_NAME : string ='function_name';
static readonly DB_PERMISSION_NAME : string ='permission_name';
}
@@ -0,0 +1,31 @@
export class SecurityTableDescriptionEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public Description: string = "";
public DescriptionId: number = 0;
public FieldName: string = "";
public TableName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DESCRIPTION : string ='Description';
static readonly DESCRIPTION_ID : string ='DescriptionId';
static readonly FIELD_NAME : string ='FieldName';
static readonly TABLE_NAME : string ='TableName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly DB_NAME_SECURITY_TABLE_DESCRIPTION : string ='security_table_description';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,description,description_id,field_name,table_name,updated_by,updated_datetime';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DESCRIPTION : string ='description';
static readonly DB_DESCRIPTION_ID : string ='description_id';
static readonly DB_FIELD_NAME : string ='field_name';
static readonly DB_TABLE_NAME : string ='table_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
}
@@ -0,0 +1,58 @@
export class SecurityTableDescriptionViewEntity
{
public TableName: string = "";
public FieldName: string = "";
public TypeName: string = "";
public TypeOfName: string = "";
public MaxLength: number = 0;
public Scale: number = 0;
public IsNullAble: string = "";
public FieldDefaultValue: string = "";
public Xtype: string = "";
public FindBy: number = 0;
public Operation: number = 0;
public Pk: number = 0;
public PkName: string = "";
public IsIdentity: number = 0;
public Colid: number = 0;
public Description: string = "";
public DescriptionId: number = 0;
static readonly TABLE_NAME : string ='TableName';
static readonly FIELD_NAME : string ='FieldName';
static readonly TYPE_NAME : string ='TypeName';
static readonly TYPE_OF_NAME : string ='TypeOfName';
static readonly MAX_LENGTH : string ='MaxLength';
static readonly SCALE : string ='Scale';
static readonly IS_NULL_ABLE : string ='IsNullAble';
static readonly FIELD_DEFAULT_VALUE : string ='FieldDefaultValue';
static readonly XTYPE : string ='Xtype';
static readonly FIND_BY : string ='FindBy';
static readonly OPERATION : string ='Operation';
static readonly PK : string ='Pk';
static readonly PK_NAME : string ='PkName';
static readonly IS_IDENTITY : string ='IsIdentity';
static readonly COLID : string ='Colid';
static readonly DESCRIPTION : string ='Description';
static readonly DESCRIPTION_ID : string ='DescriptionId';
static readonly DB_NAME_SECURITY_TABLE_DESCRIPTION_VIEW : string ='security_table_description_view';
static readonly DB_NAME_FIELDS : string ='table_name,field_name,type_name,type_of_name,max_length,scale,is_null_able,field_default_value,xtype,find_by,operation,pk,pk_name,is_identity,colid,description,description_id';
static readonly DB_TABLE_NAME : string ='table_name';
static readonly DB_FIELD_NAME : string ='field_name';
static readonly DB_TYPE_NAME : string ='type_name';
static readonly DB_TYPE_OF_NAME : string ='type_of_name';
static readonly DB_MAX_LENGTH : string ='max_length';
static readonly DB_SCALE : string ='scale';
static readonly DB_IS_NULL_ABLE : string ='is_null_able';
static readonly DB_FIELD_DEFAULT_VALUE : string ='field_default_value';
static readonly DB_XTYPE : string ='xtype';
static readonly DB_FIND_BY : string ='find_by';
static readonly DB_OPERATION : string ='operation';
static readonly DB_PK : string ='pk';
static readonly DB_PK_NAME : string ='pk_name';
static readonly DB_IS_IDENTITY : string ='is_identity';
static readonly DB_COLID : string ='colid';
static readonly DB_DESCRIPTION : string ='description';
static readonly DB_DESCRIPTION_ID : string ='description_id';
}
@@ -0,0 +1,25 @@
export class SecurityUserActorEntity
{
public ActorName: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public UserName: string = "";
static readonly ACTOR_NAME : string ='ActorName';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly USER_NAME : string ='UserName';
static readonly DB_NAME_SECURITY_USER_ACTOR : string ='security_user_actor';
static readonly DB_NAME_FIELDS : string ='actor_name,created_by,created_datetime,updated_by,updated_datetime,user_name';
static readonly DB_ACTOR_NAME : string ='actor_name';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_USER_NAME : string ='user_name';
}
@@ -0,0 +1,7 @@
export class SecurityUserActorEntityKey
{
public ActorName: string = "";
public UserName: string = "";
}
@@ -0,0 +1,22 @@
export class SecurityUserActorViewEntity
{
public ActorLocalName: string = "";
public ActorName: string = "";
public UserLocalName: string = "";
public UserMobile: string = "";
public UserName: string = "";
static readonly ACTOR_LOCAL_NAME : string ='ActorLocalName';
static readonly ACTOR_NAME : string ='ActorName';
static readonly USER_LOCAL_NAME : string ='UserLocalName';
static readonly USER_MOBILE : string ='UserMobile';
static readonly USER_NAME : string ='UserName';
static readonly DB_NAME_SECURITY_USER_ACTOR_VIEW : string ='security_user_actor_view';
static readonly DB_NAME_FIELDS : string ='actor_local_name,actor_name,user_local_name,user_mobile,user_name';
static readonly DB_ACTOR_LOCAL_NAME : string ='actor_local_name';
static readonly DB_ACTOR_NAME : string ='actor_name';
static readonly DB_USER_LOCAL_NAME : string ='user_local_name';
static readonly DB_USER_MOBILE : string ='user_mobile';
static readonly DB_USER_NAME : string ='user_name';
}
+9
View File
@@ -0,0 +1,9 @@
import { SecurityUserDisplayData } from "./securityUserDisplayData";
import { SecurityUserActorViewEntity } from "./securityUserActorViewEntity";
export class SecurityUserData
{
public SecurityUser: SecurityUserDisplayData = new SecurityUserDisplayData();
public SecurityUserActors: SecurityUserActorViewEntity[] = [];
}
@@ -0,0 +1,34 @@
export class SecurityUserDelegatedPermissionEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public DelegatedByUser: string = "";
public EndDatetime: Date = new Date();
public PermissionName: string = "";
public StartDatetime: Date = new Date();
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public UserName: string = "";
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DELEGATED_BY_USER : string ='DelegatedByUser';
static readonly END_DATETIME : string ='EndDatetime';
static readonly PERMISSION_NAME : string ='PermissionName';
static readonly START_DATETIME : string ='StartDatetime';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly USER_NAME : string ='UserName';
static readonly DB_NAME_SECURITY_USER_DELEGATED_PERMISSION : string ='security_user_delegated_permission';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,delegated_by_user,end_datetime,permission_name,start_datetime,updated_by,updated_datetime,user_name';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DELEGATED_BY_USER : string ='delegated_by_user';
static readonly DB_END_DATETIME : string ='end_datetime';
static readonly DB_PERMISSION_NAME : string ='permission_name';
static readonly DB_START_DATETIME : string ='start_datetime';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_USER_NAME : string ='user_name';
}
@@ -0,0 +1,8 @@
export class SecurityUserDelegatedPermissionEntityKey
{
public DelegatedByUser: string = "";
public PermissionName: string = "";
public UserName: string = "";
}
@@ -0,0 +1,7 @@
import { SecurityUserEntity } from "./securityUserEntity";
export class SecurityUserDisplayData extends SecurityUserEntity
{
public OrgUserPassword: string = "";
}
+121
View File
@@ -0,0 +1,121 @@
export class SecurityUserEntity
{
public AccountsLockedDatetime?: Date= null!;
public BiometricCounter: number = 0;
public BiometricCredentialId: string = "";
public BiometricDeviceName: string = "";
public BiometricEnrolledAt?: Date= null!;
public BiometricLastUsedAt?: Date= null!;
public BiometricPublicKey: string = "";
public Community: number = 0;
public CompanyName: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public ErrorLoginCount: number = 0;
public Industry: string = "";
public IsAccountsLockedIndc: string = "";
public IsForeceChangePasswordIndc: string = "";
public LastLoginDatetime?: Date= null!;
public Postcode: string = "";
public RoomName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public UserAccountsExpireDatetime?: Date= null!;
public UserAddress: string = "";
public UserAlipayAccount: string = "";
public UserAlipayAccountImgPath: string = "";
public UserEngName: string = "";
public UserGrade: number = 0;
public UserIconImgPath: string = "";
public UserIsValidIndc: string = "";
public UserLocalName: string = "";
public UserMobile: string = "";
public UserName: string = "";
public UserPassword: string = "";
public UserRemark: string = "";
public UserType: string = "";
public UserTypeEndDatetime?: Date= null!;
public UserWechatAccount: string = "";
public UserWechatAccountImgPath: string = "";
public WelcomePage: string = "";
static readonly ACCOUNTS_LOCKED_DATETIME : string ='AccountsLockedDatetime';
static readonly BIOMETRIC_COUNTER : string ='BiometricCounter';
static readonly BIOMETRIC_CREDENTIAL_ID : string ='BiometricCredentialId';
static readonly BIOMETRIC_DEVICE_NAME : string ='BiometricDeviceName';
static readonly BIOMETRIC_ENROLLED_AT : string ='BiometricEnrolledAt';
static readonly BIOMETRIC_LAST_USED_AT : string ='BiometricLastUsedAt';
static readonly BIOMETRIC_PUBLIC_KEY : string ='BiometricPublicKey';
static readonly COMMUNITY : string ='Community';
static readonly COMPANY_NAME : string ='CompanyName';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly ERROR_LOGIN_COUNT : string ='ErrorLoginCount';
static readonly INDUSTRY : string ='Industry';
static readonly IS_ACCOUNTS_LOCKED_INDC : string ='IsAccountsLockedIndc';
static readonly IS_FORECE_CHANGE_PASSWORD_INDC : string ='IsForeceChangePasswordIndc';
static readonly LAST_LOGIN_DATETIME : string ='LastLoginDatetime';
static readonly POSTCODE : string ='Postcode';
static readonly ROOM_NAME : string ='RoomName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly USER_ACCOUNTS_EXPIRE_DATETIME : string ='UserAccountsExpireDatetime';
static readonly USER_ADDRESS : string ='UserAddress';
static readonly USER_ALIPAY_ACCOUNT : string ='UserAlipayAccount';
static readonly USER_ALIPAY_ACCOUNT_IMG_PATH : string ='UserAlipayAccountImgPath';
static readonly USER_ENG_NAME : string ='UserEngName';
static readonly USER_GRADE : string ='UserGrade';
static readonly USER_ICON_IMG_PATH : string ='UserIconImgPath';
static readonly USER_IS_VALID_INDC : string ='UserIsValidIndc';
static readonly USER_LOCAL_NAME : string ='UserLocalName';
static readonly USER_MOBILE : string ='UserMobile';
static readonly USER_NAME : string ='UserName';
static readonly USER_PASSWORD : string ='UserPassword';
static readonly USER_REMARK : string ='UserRemark';
static readonly USER_TYPE : string ='UserType';
static readonly USER_TYPE_END_DATETIME : string ='UserTypeEndDatetime';
static readonly USER_WECHAT_ACCOUNT : string ='UserWechatAccount';
static readonly USER_WECHAT_ACCOUNT_IMG_PATH : string ='UserWechatAccountImgPath';
static readonly WELCOME_PAGE : string ='WelcomePage';
static readonly DB_NAME_SECURITY_USER : string ='security_user';
static readonly DB_NAME_FIELDS : string ='accounts_locked_datetime,biometric_counter,biometric_credential_id,biometric_device_name,biometric_enrolled_at,biometric_last_used_at,biometric_public_key,community,company_name,created_by,created_datetime,error_login_count,industry,is_accounts_locked_indc,is_forece_change_password_indc,last_login_datetime,postcode,room_name,updated_by,updated_datetime,user_accounts_expire_datetime,user_address,user_alipay_account,user_alipay_account_img_path,user_eng_name,user_grade,user_icon_img_path,user_is_valid_indc,user_local_name,user_mobile,user_name,user_password,user_remark,user_type,user_type_end_datetime,user_wechat_account,user_wechat_account_img_path,welcome_page';
static readonly DB_ACCOUNTS_LOCKED_DATETIME : string ='accounts_locked_datetime';
static readonly DB_BIOMETRIC_COUNTER : string ='biometric_counter';
static readonly DB_BIOMETRIC_CREDENTIAL_ID : string ='biometric_credential_id';
static readonly DB_BIOMETRIC_DEVICE_NAME : string ='biometric_device_name';
static readonly DB_BIOMETRIC_ENROLLED_AT : string ='biometric_enrolled_at';
static readonly DB_BIOMETRIC_LAST_USED_AT : string ='biometric_last_used_at';
static readonly DB_BIOMETRIC_PUBLIC_KEY : string ='biometric_public_key';
static readonly DB_COMMUNITY : string ='community';
static readonly DB_COMPANY_NAME : string ='company_name';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_ERROR_LOGIN_COUNT : string ='error_login_count';
static readonly DB_INDUSTRY : string ='industry';
static readonly DB_IS_ACCOUNTS_LOCKED_INDC : string ='is_accounts_locked_indc';
static readonly DB_IS_FORECE_CHANGE_PASSWORD_INDC : string ='is_forece_change_password_indc';
static readonly DB_LAST_LOGIN_DATETIME : string ='last_login_datetime';
static readonly DB_POSTCODE : string ='postcode';
static readonly DB_ROOM_NAME : string ='room_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_USER_ACCOUNTS_EXPIRE_DATETIME : string ='user_accounts_expire_datetime';
static readonly DB_USER_ADDRESS : string ='user_address';
static readonly DB_USER_ALIPAY_ACCOUNT : string ='user_alipay_account';
static readonly DB_USER_ALIPAY_ACCOUNT_IMG_PATH : string ='user_alipay_account_img_path';
static readonly DB_USER_ENG_NAME : string ='user_eng_name';
static readonly DB_USER_GRADE : string ='user_grade';
static readonly DB_USER_ICON_IMG_PATH : string ='user_icon_img_path';
static readonly DB_USER_IS_VALID_INDC : string ='user_is_valid_indc';
static readonly DB_USER_LOCAL_NAME : string ='user_local_name';
static readonly DB_USER_MOBILE : string ='user_mobile';
static readonly DB_USER_NAME : string ='user_name';
static readonly DB_USER_PASSWORD : string ='user_password';
static readonly DB_USER_REMARK : string ='user_remark';
static readonly DB_USER_TYPE : string ='user_type';
static readonly DB_USER_TYPE_END_DATETIME : string ='user_type_end_datetime';
static readonly DB_USER_WECHAT_ACCOUNT : string ='user_wechat_account';
static readonly DB_USER_WECHAT_ACCOUNT_IMG_PATH : string ='user_wechat_account_img_path';
static readonly DB_WELCOME_PAGE : string ='welcome_page';
}
@@ -0,0 +1,31 @@
export class SecurityUserLoginLogEntity
{
public AgentUserName: string = "";
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public IpAddress: string = "";
public LoginLogId: number = 0;
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public UserName: string = "";
static readonly AGENT_USER_NAME : string ='AgentUserName';
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly IP_ADDRESS : string ='IpAddress';
static readonly LOGIN_LOG_ID : string ='LoginLogId';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly USER_NAME : string ='UserName';
static readonly DB_NAME_SECURITY_USER_LOGIN_LOG : string ='security_user_login_log';
static readonly DB_NAME_FIELDS : string ='agent_user_name,created_by,created_datetime,ip_address,login_log_id,updated_by,updated_datetime,user_name';
static readonly DB_AGENT_USER_NAME : string ='agent_user_name';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_IP_ADDRESS : string ='ip_address';
static readonly DB_LOGIN_LOG_ID : string ='login_log_id';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_USER_NAME : string ='user_name';
}
@@ -0,0 +1,12 @@
import { SecurityGroupPermissionViewEntity } from "./securityGroupPermissionViewEntity";
import { SecurityGroupPermissionDependentViewEntity } from "./securityGroupPermissionDependentViewEntity";
import { SecurityPermissionFunctionMapViewEntity } from "./securityPermissionFunctionMapViewEntity";
export class SecurityUserPermissionInfo
{
public UserGroups: string[]= [];
public Permissions: SecurityGroupPermissionViewEntity[] = [];
public PermissionDependents: SecurityGroupPermissionDependentViewEntity[] = [];
public PermissionFunctionMaps: SecurityPermissionFunctionMapViewEntity[] = [];
}
@@ -0,0 +1,7 @@
export class SecurityUserPolicy
{
static readonly SECURITY_USER_BASE_ACTOR : string ='SecurityUserBaseActor';
static readonly ERROR_LOGIN_COUNT: number =5;
}
@@ -0,0 +1,28 @@
export class SecurityUserPreferenceEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public Preference: string = "";
public PreferenceKey: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public Username: string = "";
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly PREFERENCE : string ='Preference';
static readonly PREFERENCE_KEY : string ='PreferenceKey';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly USERNAME : string ='Username';
static readonly DB_NAME_SECURITY_USER_PREFERENCE : string ='security_user_preference';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,preference,preference_key,updated_by,updated_datetime,username';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_PREFERENCE : string ='preference';
static readonly DB_PREFERENCE_KEY : string ='preference_key';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_USERNAME : string ='username';
}
@@ -0,0 +1,7 @@
export class SecurityUserPreferenceEntityKey
{
public PreferenceKey: string = "";
public Username: string = "";
}
@@ -0,0 +1,6 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityUserPreferenceSearchCriteria extends AbstractSearchCriteria
{
}
@@ -0,0 +1,8 @@
import { SecurityUserEntity } from "./securityUserEntity";
import { SearchCriteriaResultData } from "./searchCriteriaResultData";
export class SecurityUserResultData extends SearchCriteriaResultData
{
public Datas: SecurityUserEntity[] = [];
}
@@ -0,0 +1,7 @@
import { AbstractSearchCriteria } from "./abstractSearchCriteria";
export class SecurityUserSearchCriteria extends AbstractSearchCriteria
{
public UserName: string = "";
}
@@ -0,0 +1,25 @@
export class SecurityUserViewEntity
{
public ActorLocalName: string = "";
public ActorName: string = "";
public UserLocalName: string = "";
public UserMobile: string = "";
public UserName: string = "";
public WelcomePage: string = "";
static readonly ACTOR_LOCAL_NAME : string ='ActorLocalName';
static readonly ACTOR_NAME : string ='ActorName';
static readonly USER_LOCAL_NAME : string ='UserLocalName';
static readonly USER_MOBILE : string ='UserMobile';
static readonly USER_NAME : string ='UserName';
static readonly WELCOME_PAGE : string ='WelcomePage';
static readonly DB_NAME_SECURITY_USER_VIEW : string ='security_user_view';
static readonly DB_NAME_FIELDS : string ='actor_local_name,actor_name,user_local_name,user_mobile,user_name,welcome_page';
static readonly DB_ACTOR_LOCAL_NAME : string ='actor_local_name';
static readonly DB_ACTOR_NAME : string ='actor_name';
static readonly DB_USER_LOCAL_NAME : string ='user_local_name';
static readonly DB_USER_MOBILE : string ='user_mobile';
static readonly DB_USER_NAME : string ='user_name';
static readonly DB_WELCOME_PAGE : string ='welcome_page';
}
@@ -0,0 +1,31 @@
export class SecurityUserWebLoginEntity
{
public HostIp: string = "";
public HostUserAgent: string = "";
public LoginTime: Date = new Date();
public LogoutTime?: Date= null!;
public RefreshToken: string = "";
public RefreshTokenRefreshedTime: Date = new Date();
public SessionId: string = "";
public Username: string = "";
static readonly HOST_IP : string ='HostIp';
static readonly HOST_USER_AGENT : string ='HostUserAgent';
static readonly LOGIN_TIME : string ='LoginTime';
static readonly LOGOUT_TIME : string ='LogoutTime';
static readonly REFRESH_TOKEN : string ='RefreshToken';
static readonly REFRESH_TOKEN_REFRESHED_TIME : string ='RefreshTokenRefreshedTime';
static readonly SESSION_ID : string ='SessionId';
static readonly USERNAME : string ='Username';
static readonly DB_NAME_SECURITY_USER_WEB_LOGIN : string ='security_user_web_login';
static readonly DB_NAME_FIELDS : string ='host_ip,host_user_agent,login_time,logout_time,refresh_token,refresh_token_refreshed_time,session_id,username';
static readonly DB_HOST_IP : string ='host_ip';
static readonly DB_HOST_USER_AGENT : string ='host_user_agent';
static readonly DB_LOGIN_TIME : string ='login_time';
static readonly DB_LOGOUT_TIME : string ='logout_time';
static readonly DB_REFRESH_TOKEN : string ='refresh_token';
static readonly DB_REFRESH_TOKEN_REFRESHED_TIME : string ='refresh_token_refreshed_time';
static readonly DB_SESSION_ID : string ='session_id';
static readonly DB_USERNAME : string ='username';
}
@@ -0,0 +1,7 @@
export class SecurityUserWebLoginEntityKey
{
public SessionId: string = "";
public Username: string = "";
}
@@ -0,0 +1,34 @@
export class SecurityUserWebPagePreferenceEntity
{
public CreatedBy: string = "";
public CreatedDatetime: Date = new Date();
public DefaultIndc: string = "";
public Preference: string = "";
public PreferenceKey: string = "";
public ProfileName: string = "";
public UpdatedBy: string = "";
public UpdatedDatetime: Date = new Date();
public Username: string = "";
static readonly CREATED_BY : string ='CreatedBy';
static readonly CREATED_DATETIME : string ='CreatedDatetime';
static readonly DEFAULT_INDC : string ='DefaultIndc';
static readonly PREFERENCE : string ='Preference';
static readonly PREFERENCE_KEY : string ='PreferenceKey';
static readonly PROFILE_NAME : string ='ProfileName';
static readonly UPDATED_BY : string ='UpdatedBy';
static readonly UPDATED_DATETIME : string ='UpdatedDatetime';
static readonly USERNAME : string ='Username';
static readonly DB_NAME_SECURITY_USER_WEB_PAGE_PREFERENCE : string ='security_user_web_page_preference';
static readonly DB_NAME_FIELDS : string ='created_by,created_datetime,default_indc,preference,preference_key,profile_name,updated_by,updated_datetime,username';
static readonly DB_CREATED_BY : string ='created_by';
static readonly DB_CREATED_DATETIME : string ='created_datetime';
static readonly DB_DEFAULT_INDC : string ='default_indc';
static readonly DB_PREFERENCE : string ='preference';
static readonly DB_PREFERENCE_KEY : string ='preference_key';
static readonly DB_PROFILE_NAME : string ='profile_name';
static readonly DB_UPDATED_BY : string ='updated_by';
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
static readonly DB_USERNAME : string ='username';
}
@@ -0,0 +1,8 @@
export class SecurityUserWebPagePreferenceEntityKey
{
public PreferenceKey: string = "";
public ProfileName: string = "";
public Username: string = "";
}
+7
View File
@@ -0,0 +1,7 @@
export class SelectOption
{
public DisplayName: string = "";
public BindValue: string = "";
}
@@ -0,0 +1,25 @@
export class SysTablePkeyViewEntity
{
public ColumnName: string = "";
public Pk: number = 0;
public PkName: string = "";
public TableName: string = "";
public TableOwner: string = "";
public TableQualifier: string = "";
static readonly COLUMN_NAME : string ='ColumnName';
static readonly PK : string ='Pk';
static readonly PK_NAME : string ='PkName';
static readonly TABLE_NAME : string ='TableName';
static readonly TABLE_OWNER : string ='TableOwner';
static readonly TABLE_QUALIFIER : string ='TableQualifier';
static readonly DB_NAME_SYS_TABLE_PKEY_VIEW : string ='sys_table_pkey_view';
static readonly DB_NAME_FIELDS : string ='column_name,pk,pk_name,table_name,table_owner,table_qualifier';
static readonly DB_COLUMN_NAME : string ='column_name';
static readonly DB_PK : string ='pk';
static readonly DB_PK_NAME : string ='pk_name';
static readonly DB_TABLE_NAME : string ='table_name';
static readonly DB_TABLE_OWNER : string ='table_owner';
static readonly DB_TABLE_QUALIFIER : string ='table_qualifier';
}
@@ -0,0 +1,52 @@
export class SysTableSchemaViewEntity
{
public Colid: number = 0;
public FieldDefaultValue: string = "";
public FieldName: string = "";
public FindBy: number = 0;
public IsIdentity: number = 0;
public IsNullAble: string = "";
public MaxLength: number = 0;
public Operation: number = 0;
public Pk: number = 0;
public PkName: string = "";
public Scale: number = 0;
public TableName: string = "";
public TypeName: string = "";
public TypeOfName: string = "";
public Xtype: string = "";
static readonly COLID : string ='Colid';
static readonly FIELD_DEFAULT_VALUE : string ='FieldDefaultValue';
static readonly FIELD_NAME : string ='FieldName';
static readonly FIND_BY : string ='FindBy';
static readonly IS_IDENTITY : string ='IsIdentity';
static readonly IS_NULL_ABLE : string ='IsNullAble';
static readonly MAX_LENGTH : string ='MaxLength';
static readonly OPERATION : string ='Operation';
static readonly PK : string ='Pk';
static readonly PK_NAME : string ='PkName';
static readonly SCALE : string ='Scale';
static readonly TABLE_NAME : string ='TableName';
static readonly TYPE_NAME : string ='TypeName';
static readonly TYPE_OF_NAME : string ='TypeOfName';
static readonly XTYPE : string ='Xtype';
static readonly DB_NAME_SYS_TABLE_SCHEMA_VIEW : string ='sys_table_schema_view';
static readonly DB_NAME_FIELDS : string ='colid,field_default_value,field_name,find_by,is_identity,is_null_able,max_length,operation,pk,pk_name,scale,table_name,type_name,type_of_name,xtype';
static readonly DB_COLID : string ='colid';
static readonly DB_FIELD_DEFAULT_VALUE : string ='field_default_value';
static readonly DB_FIELD_NAME : string ='field_name';
static readonly DB_FIND_BY : string ='find_by';
static readonly DB_IS_IDENTITY : string ='is_identity';
static readonly DB_IS_NULL_ABLE : string ='is_null_able';
static readonly DB_MAX_LENGTH : string ='max_length';
static readonly DB_OPERATION : string ='operation';
static readonly DB_PK : string ='pk';
static readonly DB_PK_NAME : string ='pk_name';
static readonly DB_SCALE : string ='scale';
static readonly DB_TABLE_NAME : string ='table_name';
static readonly DB_TYPE_NAME : string ='type_name';
static readonly DB_TYPE_OF_NAME : string ='type_of_name';
static readonly DB_XTYPE : string ='xtype';
}
+144
View File
@@ -0,0 +1,144 @@
import { request } from "@/utils/request";
import type { LoginData } from "@/data/auto/loginData";
import type { LoginProfile } from "@/data/auto/loginProfile";
import type { RegisterData } from "@/data/auto/registerData";
import type { JwtInfo } from "@/data/auto/jwtInfo";
import type { FinishBiometricRegistrationData } from "@/data/auto/finishBiometricRegistrationData";
import type { BiometricRegistrationResultDto } from "@/data/auto/biometricRegistrationResultDto";
import type { BiometricLoginChallengeDto } from "@/data/auto/biometricLoginChallengeDto";
import type { FinishBiometricLoginData } from "@/data/auto/finishBiometricLoginData";
class AuthService{
async Login(data: LoginData) {
return request<LoginProfile>(
{
url: "/Auth/Login",
method: "post",
data,
}
)
};
async LoginAgent(data: LoginData) {
return request<LoginProfile>(
{
url: "/Auth/LoginAgent",
method: "post",
data,
}
)
};
async Register(data: RegisterData) {
return request<string>(
{
url: "/Auth/Register",
method: "post",
data,
}
)
};
async AmendPassword(data: LoginData) {
return request<LoginProfile>(
{
url: "/Auth/AmendPassword",
method: "post",
data,
}
)
};
async GetRsaPublicKey() {
return request<string>(
{
url: "/Auth/GetRsaPublicKey",
method: "get",
}
)
};
async RefreshToken(data: JwtInfo) {
return request<JwtInfo>(
{
url: "/Auth/RefreshToken",
method: "post",
data,
}
)
};
async Logout() {
return request<any>(
{
url: "/Auth/Logout",
method: "post",
}
)
};
async ConfirmPassword(data: string) {
return request<any>(
{
url: "/Auth/ConfirmPassword?password="+data,
method: "post",
data,
}
)
};
async BeginBiometricRegistration(data: string) {
return request<string>(
{
url: "/Auth/BeginBiometricRegistration?deviceName="+data,
method: "post",
data,
}
)
};
async FinishBiometricRegistration(data: FinishBiometricRegistrationData) {
return request<BiometricRegistrationResultDto>(
{
url: "/Auth/FinishBiometricRegistration",
method: "post",
data,
}
)
};
async BeginBiometricLogin(data: string) {
return request<BiometricLoginChallengeDto>(
{
url: "/Auth/BeginBiometricLogin?username="+data,
method: "post",
data,
}
)
};
async FinishBiometricLogin(data: FinishBiometricLoginData) {
return request<LoginProfile>(
{
url: "/Auth/FinishBiometricLogin",
method: "post",
data,
}
)
};
async RemoveBiometric() {
return request<any>(
{
url: "/Auth/RemoveBiometric",
method: "post",
}
)
};
}
const authService= new AuthService();
export default authService;
@@ -0,0 +1,83 @@
import { request } from "@/utils/request";
import type { LocaleEntity } from "@/data/auto/localeEntity";
import type { LocaleSearchCriteria } from "@/data/auto/localeSearchCriteria";
import type { LocaleResultData } from "@/data/auto/localeResultData";
import type { LocaleEntityKey } from "@/data/auto/localeEntityKey";
import type { LocaleData } from "@/data/auto/localeData";
class LocaleService{
async FindAll() {
return request<LocaleEntity[]>(
{
url: "/Locale/FindAll",
method: "get",
}
)
};
async FindBySearchCriteria(data: LocaleSearchCriteria) {
return request<LocaleResultData>(
{
url: "/Locale/FindBySearchCriteria",
method: "post",
data,
}
)
};
async FindByKey(data: LocaleEntityKey) {
return request<LocaleEntity>(
{
url: "/Locale/FindByKey",
method: "post",
data,
}
)
};
async Insert(data: LocaleEntity) {
return request<LocaleEntity>(
{
url: "/Locale/Insert",
method: "post",
data,
}
)
};
async Update(data: LocaleEntity) {
return request<LocaleEntity>(
{
url: "/Locale/Update",
method: "post",
data,
}
)
};
async UpdateLocaleData(data: LocaleData) {
return request<any>(
{
url: "/Locale/UpdateLocaleData",
method: "post",
data,
}
)
};
async Delete(data: LocaleEntityKey) {
return request<any>(
{
url: "/Locale/Delete",
method: "post",
data,
}
)
};
}
const localeService= new LocaleService();
export default localeService;
@@ -0,0 +1,102 @@
import { request,download } from "@/utils/request";
import type { SecurityActorData } from "@/data/auto/securityActorData";
import type { SecurityActorEntity } from "@/data/auto/securityActorEntity";
import type { SecurityActorSearchCriteria } from "@/data/auto/securityActorSearchCriteria";
import type { SecurityActorResultData } from "@/data/auto/securityActorResultData";
class SecurityActorService{
async FindByKey(data: string) {
return request<SecurityActorData>(
{
url: "/SecurityActor/FindByKey?key="+data,
method: "post",
data,
}
)
};
async FindAll() {
return request<SecurityActorEntity[]>(
{
url: "/SecurityActor/FindAll",
method: "post",
}
)
};
async FindAllByNoPermission() {
return request<SecurityActorEntity[]>(
{
url: "/SecurityActor/FindAllByNoPermission",
method: "post",
}
)
};
async FindBySearchCriteria(data: SecurityActorSearchCriteria) {
return request<SecurityActorResultData>(
{
url: "/SecurityActor/FindBySearchCriteria",
method: "post",
data,
}
)
};
async PrintBySearchCriteria(data: SecurityActorSearchCriteria) {
return download(
{
url: "/SecurityActor/PrintBySearchCriteria",
method: "post",
data,
filename:'SecurityActor'
}
)
};
async Insert(data: SecurityActorData) {
return request<SecurityActorData>(
{
url: "/SecurityActor/Insert",
method: "post",
data,
}
)
};
async Update(data: SecurityActorData) {
return request<SecurityActorData>(
{
url: "/SecurityActor/Update",
method: "post",
data,
}
)
};
async Delete(data: string) {
return request<any>(
{
url: "/SecurityActor/Delete?key="+data,
method: "post",
data,
}
)
};
async Deletes(data: String[]) {
return request<any>(
{
url: "/SecurityActor/Deletes",
method: "post",
data,
}
)
};
}
const securityActorService= new SecurityActorService();
export default securityActorService;
@@ -0,0 +1,104 @@
import { request,download } from "@/utils/request";
import type { SecurityFunctionData } from "@/data/auto/securityFunctionData";
import type { SecurityFunctionSearchCriteria } from "@/data/auto/securityFunctionSearchCriteria";
import type { SecurityFunctionResultData } from "@/data/auto/securityFunctionResultData";
import type { SecurityFunctionEntity } from "@/data/auto/securityFunctionEntity";
import type { SecurityFunctionDisplayData } from "@/data/auto/securityFunctionDisplayData";
class SecurityFunctionService{
async FindByKey(data: string) {
return request<SecurityFunctionData>(
{
url: "/SecurityFunction/FindByKey?key="+data,
method: "post",
data,
}
)
};
async FindBySearchCriteria(data: SecurityFunctionSearchCriteria) {
return request<SecurityFunctionResultData>(
{
url: "/SecurityFunction/FindBySearchCriteria",
method: "post",
data,
}
)
};
async PrintBySearchCriteria(data: SecurityFunctionSearchCriteria) {
return download(
{
url: "/SecurityFunction/PrintBySearchCriteria",
method: "post",
data,
filename:'SecurityFunction'
}
)
};
async Insert(data: SecurityFunctionData) {
return request<SecurityFunctionData>(
{
url: "/SecurityFunction/Insert",
method: "post",
data,
}
)
};
async Update(data: SecurityFunctionData) {
return request<SecurityFunctionData>(
{
url: "/SecurityFunction/Update",
method: "post",
data,
}
)
};
async Delete(data: string) {
return request<any>(
{
url: "/SecurityFunction/Delete?key="+data,
method: "post",
data,
}
)
};
async Deletes(data: String[]) {
return request<any>(
{
url: "/SecurityFunction/Deletes",
method: "post",
data,
}
)
};
async FindByFunctionName(data: string) {
return request<SecurityFunctionEntity>(
{
url: "/SecurityFunction/FindByFunctionName?functionName="+data,
method: "post",
data,
}
)
};
async FindMenus() {
return request<SecurityFunctionDisplayData[]>(
{
url: "/SecurityFunction/FindMenus",
method: "post",
}
)
};
}
const securityFunctionService= new SecurityFunctionService();
export default securityFunctionService;
@@ -0,0 +1,73 @@
import { request,download } from "@/utils/request";
import type { SecurityGeneratorNumberEntity } from "@/data/auto/securityGeneratorNumberEntity";
import type { SecurityGeneratorNumberSearchCriteria } from "@/data/auto/securityGeneratorNumberSearchCriteria";
import type { SecurityGeneratorNumberResultData } from "@/data/auto/securityGeneratorNumberResultData";
class SecurityGeneratorNumberService{
async FindByKey(data: number) {
return request<SecurityGeneratorNumberEntity>(
{
url: "/SecurityGeneratorNumber/FindByKey?key="+data,
method: "post",
data,
}
)
};
async FindBySearchCriteria(data: SecurityGeneratorNumberSearchCriteria) {
return request<SecurityGeneratorNumberResultData>(
{
url: "/SecurityGeneratorNumber/FindBySearchCriteria",
method: "post",
data,
}
)
};
async PrintBySearchCriteria(data: SecurityGeneratorNumberSearchCriteria) {
return download(
{
url: "/SecurityGeneratorNumber/PrintBySearchCriteria",
method: "post",
data,
filename:'SecurityGeneratorNumber'
}
)
};
async Insert(data: SecurityGeneratorNumberEntity) {
return request<SecurityGeneratorNumberEntity>(
{
url: "/SecurityGeneratorNumber/Insert",
method: "post",
data,
}
)
};
async Update(data: SecurityGeneratorNumberEntity) {
return request<SecurityGeneratorNumberEntity>(
{
url: "/SecurityGeneratorNumber/Update",
method: "post",
data,
}
)
};
async Delete(data: number) {
return request<any>(
{
url: "/SecurityGeneratorNumber/Delete?key="+data,
method: "post",
data,
}
)
};
}
const securityGeneratorNumberService= new SecurityGeneratorNumberService();
export default securityGeneratorNumberService;
@@ -0,0 +1,93 @@
import { request,download } from "@/utils/request";
import type { SecurityGroupData } from "@/data/auto/securityGroupData";
import type { SecurityGroupEntity } from "@/data/auto/securityGroupEntity";
import type { SecurityGroupSearchCriteria } from "@/data/auto/securityGroupSearchCriteria";
import type { SecurityGroupResultData } from "@/data/auto/securityGroupResultData";
class SecurityGroupService{
async FindByKey(data: string) {
return request<SecurityGroupData>(
{
url: "/SecurityGroup/FindByKey?key="+data,
method: "post",
data,
}
)
};
async FindAll() {
return request<SecurityGroupEntity[]>(
{
url: "/SecurityGroup/FindAll",
method: "post",
}
)
};
async FindBySearchCriteria(data: SecurityGroupSearchCriteria) {
return request<SecurityGroupResultData>(
{
url: "/SecurityGroup/FindBySearchCriteria",
method: "post",
data,
}
)
};
async PrintBySearchCriteria(data: SecurityGroupSearchCriteria) {
return download(
{
url: "/SecurityGroup/PrintBySearchCriteria",
method: "post",
data,
filename:'SecurityGroup'
}
)
};
async Insert(data: SecurityGroupData) {
return request<SecurityGroupData>(
{
url: "/SecurityGroup/Insert",
method: "post",
data,
}
)
};
async Update(data: SecurityGroupData) {
return request<SecurityGroupData>(
{
url: "/SecurityGroup/Update",
method: "post",
data,
}
)
};
async Delete(data: string) {
return request<any>(
{
url: "/SecurityGroup/Delete?key="+data,
method: "post",
data,
}
)
};
async Deletes(data: String[]) {
return request<any>(
{
url: "/SecurityGroup/Deletes",
method: "post",
data,
}
)
};
}
const securityGroupService= new SecurityGroupService();
export default securityGroupService;
Loaded 100 of 678 files, more files were not shown because too many files have changed in this diff. Show more