Files
everything/ProjecThing/Models/CodeTable/CodeTableOperation.cs
2026-06-16 18:04:55 +02:00

24 lines
633 B
C#

using ProjecThing.Models.Project;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ProjecThing.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; }
}
}