forgot don't map tag
This commit is contained in:
parent
3da29f8745
commit
81e01827cb
@ -1,4 +1,6 @@
|
|||||||
namespace qtc_api.Models
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
|
namespace qtc_api.Models
|
||||||
{
|
{
|
||||||
public class User
|
public class User
|
||||||
{
|
{
|
||||||
@ -22,7 +24,8 @@
|
|||||||
public string TextStatus { get; set; } = string.Empty;
|
public string TextStatus { get; set; } = string.Empty;
|
||||||
|
|
||||||
private string? _tagString;
|
private string? _tagString;
|
||||||
[BackingField(nameof(_tagString))]
|
|
||||||
|
[NotMapped]
|
||||||
public string[] Tags
|
public string[] Tags
|
||||||
{
|
{
|
||||||
get => _tagString?.Split(',') ?? [];
|
get => _tagString?.Split(',') ?? [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user