- 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

@@ -0,0 +1,31 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using EveryThing.Models.CodeTable;
namespace EveryThing.Models.Project
{
public class ProjectPartItemOperation
{
[Key]
public int Id { get; set; }
[Required]
[ForeignKey("ProjectPartItem")]
public int IdProjectPartItemFk { get; set; }
[Required]
[ForeignKey("Operation")]
public int IdCodeTableOperationFk { get; set; }
[Required]
public bool Finished { get; set; }
[Required]
public short Order { get; set; }
public CodeTableOperation Operation { get; set; }
public ProjectPartItem ProjectPartItem { get; set; }
}
}