24 lines
633 B
C#
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; }
|
|
}
|
|
}
|