type canBeNUll = string | undefined | null;
interface IDataPermissionVO {
  perType: string;
  expireTime: any;
  permissions: canBeNUll;
}
interface IDataPerSubjectVO {
  subjectType: string;
  subjectEid: string;
}
interface IObjectEid {
  field: string;
  operation: string;
  value: string;
  andOrFlag: string;
}
interface dataPerObjectVO {
  objectType: string;
  objectEid: IObjectEid[];
}

// 新建对象授权：数据格式
export interface IObjPerParams {
  connect: string;
  companyId: string;
  lang: string;
  objectId: string;
  dataPermissionVO: IDataPermissionVO;
  dataPerSubjectVO: IDataPerSubjectVO;
  dataPerObjectVO: dataPerObjectVO;
}
// 客体信息：数据格式
export interface IObjectItem {
  typeName: string | undefined; //显示的客体类型
  label: string | undefined; //客体显示
  id: string | undefined; //ID
  objType: string | undefined;
}
// 对象授权列表：数据格式
export interface IModalParam {
  EID: string;
  ENAME: string;
  EXPIRETIME: string;
  PERMISSIONS: string;
  PERSUBJECT: string;
}
