- 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:
31
EveryThing/Models/Project/ProjectPartItemOperation.cs
Normal file
31
EveryThing/Models/Project/ProjectPartItemOperation.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user