fixed some relationship problems
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WD7UVN_HFT_2023241.Models
|
||||
{
|
||||
@@ -17,8 +12,8 @@ namespace WD7UVN_HFT_2023241.Models
|
||||
public string EMAIL { get; set; }
|
||||
public string PHONE { get; set; }
|
||||
[ForeignKey(nameof(MaintainerTeam))]
|
||||
public int MAINTAINER_ID { get; set; }
|
||||
public int? MAINTAINER_ID { get; set; }
|
||||
[ForeignKey(nameof(Employee))]
|
||||
public int MANAGER_ID { get; set; }
|
||||
public int? MANAGER_ID { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user