using System;
using System.Collections.Generic;

namespace PowerAccounting.Models2
{
    public partial class Order
    {
        public Order()
        {
            OrdersFiles = new HashSet<OrdersFile>();
            OrdersModels = new HashSet<OrdersModel>();
        }

        public int Id { get; set; }
        public int? Activity { get; set; }
        public int? Class { get; set; }
        public string? Describe { get; set; }
        public int? Type { get; set; }
        public string? Marketfile { get; set; }
        public string? Notes { get; set; }
        public bool? Recourse { get; set; }
        public string? InvBackground { get; set; }
        public string? Summery { get; set; }
        public string? Charcter { get; set; }
        public string? SecurityElements { get; set; }
        public string? Title { get; set; }
        public string? Details { get; set; }
        public string? Invfile { get; set; }
        public int? Relation { get; set; }
        public int? Dept { get; set; }
        public string? Date { get; set; }
        public string? Address { get; set; }
        public string? Authfile { get; set; }
        public bool? Published { get; set; }
        public int? SecretType { get; set; }
        public string? SecretScrap { get; set; }
        public string? SecretFile { get; set; }
        public string? ExpireDate { get; set; }
        public string? Name { get; set; }
        public string? Phone { get; set; }
        public string? Email { get; set; }
        public int? SModel { get; set; }
        public string? ConsTitle { get; set; }
        public string? Consfile { get; set; }
        public string? OrderDate { get; set; }
        public string? OrderTime { get; set; }
        public string? OrderType { get; set; }
        public string? OrderState { get; set; }
        public string? Period { get; set; }
        public string? ProposedValue { get; set; }
        public int? UserId { get; set; }
        public string? UserId1 { get; set; }
        public bool Pay { get; set; }
        public double? Fees { get; set; }
        public string? RejectReasons { get; set; }
        public bool ServicePay { get; set; }
        public double? ServiceFees { get; set; }
        public bool ConsalPay { get; set; }
        public double? ConsalFees { get; set; }
        public bool IsGeneral { get; set; }
        public bool Complated { get; set; }
        public string? Idea { get; set; }
        public string? RecourseDescribe { get; set; }
        public string? GenralSummery { get; set; }
        public string? FinalReport { get; set; }
        public bool TechRecourse { get; set; }
        public string? TechRecurseDescribe { get; set; }
        public string? GovFeesAccount { get; set; }
        public string? GovFeesProcessNo { get; set; }
        public bool? Accepted { get; set; }
        public bool? Agreed { get; set; }

        public virtual Activity? ActivityNavigation { get; set; }
        public virtual MyType? TypeNavigation { get; set; }
        public virtual AspNetUser? UserId1Navigation { get; set; }
        public virtual ICollection<OrdersFile> OrdersFiles { get; set; }
        public virtual ICollection<OrdersModel> OrdersModels { get; set; }
    }
}
