transport loading order status in brisanje
This commit is contained in:
@@ -11,6 +11,15 @@ namespace EveryThing.Models.Transport
|
||||
{
|
||||
public class TransportLoadingOrder
|
||||
{
|
||||
public enum TransportLoadingOrderState
|
||||
{
|
||||
[Display(Name = "Nov")]
|
||||
New = 0,
|
||||
[Display(Name = "Potrjen")]
|
||||
Confirmed = 10,
|
||||
[Display(Name = "Zaprt")]
|
||||
Closed = 20
|
||||
}
|
||||
[System.ComponentModel.DataAnnotations.Key]
|
||||
public int IdTransportLoadingOrder { get; set; }
|
||||
|
||||
@@ -61,6 +70,10 @@ namespace EveryThing.Models.Transport
|
||||
[Display(Name = "Opomba")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[Required]
|
||||
[Display(Name = "Status")]
|
||||
public TransportLoadingOrderState State { get; set; } = TransportLoadingOrderState.New;
|
||||
|
||||
// ForeignKey
|
||||
public CodeTableCompany Company { get; set; }
|
||||
public Vehicle.Vehicle Vehicle { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user