- 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
32 lines
782 B
C#
32 lines
782 B
C#
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; }
|
|
}
|
|
}
|