feat: ClientUser-Entität mit erforderlichen Attributen und Standardwerten erstellt
This commit is contained in:
parent
97cefb3fea
commit
76f57676b1
20
DigitalData.UserManager.Domain/Entities/ClientUser.cs
Normal file
20
DigitalData.UserManager.Domain/Entities/ClientUser.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
|
namespace DigitalData.UserManager.Domain.Entities
|
||||||
|
{
|
||||||
|
[Table("TBDD_CLIENT_USER", Schema = "dbo")]
|
||||||
|
public class ClientUser : BaseEntity
|
||||||
|
{
|
||||||
|
[Required]
|
||||||
|
[Column("USER_ID")]
|
||||||
|
public int UserId { get; init; }
|
||||||
|
|
||||||
|
[Required]
|
||||||
|
[Column("CLIENT_ID")]
|
||||||
|
public int ClientId { get; init; }
|
||||||
|
|
||||||
|
[Column("COMMENT")]
|
||||||
|
public string? Comment { get; init; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user