40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Avalonia.Media.Imaging;
|
|
using System.IO;
|
|
|
|
namespace demofinish.Models;
|
|
|
|
public partial class Agent
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Title { get; set; } = null!;
|
|
|
|
public int Agenttypeid { get; set; }
|
|
|
|
public string? Address { get; set; }
|
|
|
|
public string Inn { get; set; } = null!;
|
|
|
|
public string? Kpp { get; set; }
|
|
|
|
public string? Directorname { get; set; }
|
|
|
|
public string Phone { get; set; } = null!;
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? Logo { get; set; }
|
|
|
|
public int Priority { get; set; }
|
|
|
|
public virtual ICollection<Agentpriorityhistory> Agentpriorityhistories { get; set; } = new List<Agentpriorityhistory>();
|
|
|
|
public virtual Agenttype Agenttype { get; set; } = null!;
|
|
|
|
public virtual ICollection<Productsale> Productsales { get; set; } = new List<Productsale>();
|
|
|
|
public virtual ICollection<Shop> Shops { get; set; } = new List<Shop>();
|
|
} |