Renamed some fields

This commit is contained in:
2023-11-22 14:01:37 +01:00
parent 1a1f7ff0a4
commit 712fd14b41
3 changed files with 3 additions and 3 deletions

View File

@@ -22,6 +22,6 @@ namespace WD7UVN_HFT_2023241.Models
[ForeignKey(nameof(MaintainerTeam))] [ForeignKey(nameof(MaintainerTeam))]
public int MAINTAINER_ID { get; set; } public int MAINTAINER_ID { get; set; }
[ForeignKey(nameof(Employee))] [ForeignKey(nameof(Employee))]
public int MANAGER { get; set; } public int MANAGER_ID { get; set; }
} }
} }

View File

@@ -15,6 +15,6 @@ namespace WD7UVN_HFT_2023241.Models
public string EMAIL { get; set; } public string EMAIL { get; set; }
[Required] [Required]
[ForeignKey(nameof(Employee))] [ForeignKey(nameof(Employee))]
public int LEADER_EMPLOYEE_ID { get; set; } public int LEADER_ID { get; set; }
} }
} }

View File

@@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Models
public int ID { get; set; } public int ID { get; set; }
[ForeignKey(nameof(MaintainerTeam))] [ForeignKey(nameof(MaintainerTeam))]
[Required] [Required]
public int MAINTAINER { get; set; } public int MAINTAINER_ID { get; set; }
[Required] [Required]
public string NAME { get; set; } public string NAME { get; set; }
public int VERSION { get; set; } public int VERSION { get; set; }