export class UserSearchEntity {
  dictType!: string;
}

export class RoleSearchEntity {
  dictType!: string;
}

export class UserAddOrEditForm {
  id!: string;
  username!: string;
  realName!: string;
  contact!: string;
  password!: string;
}

export class RoleAddOrEditForm {
  id!: string;
  warehouseId!: string;
  roleName!: string;
  roleCode!: string;
}

export class GrantFormData {
  id!: string;
  ticked!: Array<number>;
}

export class AssignUsersFormData {
  userIdList: Array<any> = [];
  id!: string;
}

export class AssignRolesFormData {
  roleIdList: Array<any> = [];
  id!: string;
}

export class UpdatePasswordEneity {
  oldPassword!: string;
  password!: string;
  newPassword!: string;
}
