﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace AutoDozor.Web.Models
{
    public enum StatementStatus
    {
        Unknown = 0,
        Draft = 1,
        Sent = 2,
        InWork = 3,
        Rejected = 4,
        Accepted = 5
    }
    public class StatementDecision
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int64 Id { get; set; }
        [EnumDataType(typeof(StatementStatus))]
        public StatementStatus Status { get; set; }
        public string ProtocolNo { get; set; }
        public string Judgement { get; set; }
        public bool Paid { get; set; }
    }
}
