- Dodati operacije na pozicijo dela projekta

- Dodatna tabela z operacijami in stanjem (končano/nekončano)
  - šifrant operacij - možnost določevanje privzetih operacij

- Opombe na pozicij dela projekta

- Pogled kooperacij na poziciji dela projekta
  - Izpisano številka kooperacije in kooperant
This commit is contained in:
2026-02-28 09:37:13 +01:00
parent 7d64e423c3
commit 9d0fb30bf0
15 changed files with 3774 additions and 56 deletions

View File

@@ -6,6 +6,7 @@ using System.Linq;
using System.Threading.Tasks;
using EveryThing.Models.CodeTable;
using EveryThing.Models.Invoice;
using JetBrains.Annotations;
namespace EveryThing.Models.Project
{
@@ -161,6 +162,9 @@ namespace EveryThing.Models.Project
[Display(Name = "Spremenjeno")]
public DateTime DateModified { get; set; } = DateTime.Now;
[Display(Name = "Opomba")]
public string Note { get; set; } = "";
[Required]
public int ProjectPartItemNumber { get; set; } = 0;
@@ -177,5 +181,8 @@ namespace EveryThing.Models.Project
//Invoice item
[InverseProperty("ProjectPartItem")]
public virtual ICollection<InvoiceItem> InvoiceItem { get; set; }
[InverseProperty("ProjectPartItem")]
public virtual ICollection<ProjectPartItemOperation> ProjectPartItemOperation { get; set; }
}
}