forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
23 lines
597 B
C#
23 lines
597 B
C#
using AutoMapper;
|
|
using MagicCarpetContracts.DataModels;
|
|
using MagicCarpetContracts.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetDatabase.Models;
|
|
|
|
public class Supplies
|
|
{
|
|
public required string Id { get; set; }
|
|
public required TourType Type { get; set; }
|
|
public DateTime ProductuionDate { get; set; }
|
|
public required int Count { get; set; }
|
|
|
|
[ForeignKey("SuppliesId")]
|
|
public List<TourSupplies>? Tours { get; set; }
|
|
}
|