rename to projecting

This commit is contained in:
2026-06-16 18:04:55 +02:00
parent da7b320032
commit bcde4178df
14778 changed files with 3658 additions and 3642 deletions

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace ProjecThing.Models
{
public class Document
{
[Key]
public int IdDocument { get; set; }
[Required]
[ForeignKey("DocumentType")]
public int IdDocumentTypeFk { get; set; }
[Required]
public int IdReferenceFk { get; set; }
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:dd.MM.yyyy}", ApplyFormatInEditMode = true)]
[Display(Name = "Datum poteka")]
public DateTime? ExpirationDate { get; set; }
[Display(Name = "Številka")]
public string Number { get; set; }
[Display(Name = "Referenca")]
public string Reference { get; set; }
[Display(Name = "Opomba")]
public string Note { get; set; }
[Required]
public bool Active { get; set; }
//ForeignKey
public DocumentType DocumentType { get; set; }
}
}