- 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:
23
EveryThing/Models/CodeTable/CodeTableOperation.cs
Normal file
23
EveryThing/Models/CodeTable/CodeTableOperation.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using EveryThing.Models.Project;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace EveryThing.Models.CodeTable
|
||||
{
|
||||
public class CodeTableOperation
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[Display(Name = "Naziv")]
|
||||
public string Title { get; set; }
|
||||
|
||||
[Display(Name = "Privzeta operacija")]
|
||||
public bool Default { get; set; }
|
||||
|
||||
[InverseProperty("Operation")]
|
||||
public virtual ICollection<ProjectPartItemOperation> ProjectPartItemOperation { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user