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 {
|
export interface UserRep {
|
||||||
id?: number,
|
id?: number,
|
||||||
repUserId?: number,
|
repUserId?: number,
|
||||||
userId: number,
|
userId?: number,
|
||||||
repGroupId?: number,
|
repGroupId?: number,
|
||||||
groupId?: number,
|
groupId?: number,
|
||||||
addedWho: string,
|
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 { 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 { UserTableComponent } from '../../components/tables/user-table/user-table.component';
|
||||||
import { UserRepTableComponent } from '../../components/tables/user-rep-table/user-rep-table.component';
|
import { UserRepTableComponent } from '../../components/tables/user-rep-table/user-rep-table.component';
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
||||||
{
|
{
|
||||||
public record UserRepCreateDto(
|
public record UserRepCreateDto(
|
||||||
int UserId,
|
int? UserId,
|
||||||
int? RepGroupId,
|
int? RepGroupId,
|
||||||
int? GroupId,
|
int? GroupId,
|
||||||
int RepUserId
|
int RepUserId
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace DigitalData.UserManager.Application.DTOs.UserRep
|
|||||||
{
|
{
|
||||||
public record UserRepReadDto(
|
public record UserRepReadDto(
|
||||||
int Id,
|
int Id,
|
||||||
int UserId,
|
int? UserId,
|
||||||
int? RepGroupId,
|
int? RepGroupId,
|
||||||
int? GroupId,
|
int? GroupId,
|
||||||
string AddedWho,
|
string AddedWho,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
||||||
{
|
{
|
||||||
public record UserRepUpdateDto(
|
public record UserRepUpdateDto(
|
||||||
int UserId,
|
int? UserId,
|
||||||
int? RepGroupId,
|
int? RepGroupId,
|
||||||
int? GroupId,
|
int? GroupId,
|
||||||
int RepUserId
|
int RepUserId
|
||||||
|
|||||||
@ -8,7 +8,7 @@ namespace DigitalData.UserManager.Domain.Entities
|
|||||||
{
|
{
|
||||||
[Required]
|
[Required]
|
||||||
[Column("USER_ID")]
|
[Column("USER_ID")]
|
||||||
public int UserId { get; set; }
|
public int? UserId { get; set; }
|
||||||
|
|
||||||
[Column("REPR_GROUP")]
|
[Column("REPR_GROUP")]
|
||||||
public int? RepGroupId { get; set; }
|
public int? RepGroupId { get; set; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user