feat(UserRep): UserId in DTOs und Entitäten löschbar gemacht
This commit is contained in:
parent
671500b3a5
commit
be07f16d63
@ -61,7 +61,7 @@ export interface GroupOfUser {
|
||||
export interface UserRep {
|
||||
id?: number,
|
||||
repUserId?: number,
|
||||
userId: number,
|
||||
userId?: number,
|
||||
repGroupId?: number,
|
||||
groupId?: number,
|
||||
addedWho: string,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { AfterViewInit, Component, Inject, ViewChild } from '@angular/core';
|
||||
import { AfterViewInit, Component, ViewChild } from '@angular/core';
|
||||
import { GuiColumn, GuiSelectedRow } from '@generic-ui/ngx-grid/gui/grid/src/core/api/gui.grid.public-api';
|
||||
import { UserTableComponent } from '../../components/tables/user-table/user-table.component';
|
||||
import { UserRepTableComponent } from '../../components/tables/user-rep-table/user-rep-table.component';
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
||||
{
|
||||
public record UserRepCreateDto(
|
||||
int UserId,
|
||||
int? UserId,
|
||||
int? RepGroupId,
|
||||
int? GroupId,
|
||||
int RepUserId
|
||||
|
||||
@ -6,7 +6,7 @@ namespace DigitalData.UserManager.Application.DTOs.UserRep
|
||||
{
|
||||
public record UserRepReadDto(
|
||||
int Id,
|
||||
int UserId,
|
||||
int? UserId,
|
||||
int? RepGroupId,
|
||||
int? GroupId,
|
||||
string AddedWho,
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
||||
{
|
||||
public record UserRepUpdateDto(
|
||||
int UserId,
|
||||
int? UserId,
|
||||
int? RepGroupId,
|
||||
int? GroupId,
|
||||
int RepUserId
|
||||
|
||||
@ -8,7 +8,7 @@ namespace DigitalData.UserManager.Domain.Entities
|
||||
{
|
||||
[Required]
|
||||
[Column("USER_ID")]
|
||||
public int UserId { get; set; }
|
||||
public int? UserId { get; set; }
|
||||
|
||||
[Column("REPR_GROUP")]
|
||||
public int? RepGroupId { get; set; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user