24 lines
653 B
C#
24 lines
653 B
C#
using HookArmsContract.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HookArmsDataBase.Models;
|
|
|
|
public class Malfunction
|
|
{
|
|
public string Id { get; set; }
|
|
public string Description { get; set; }
|
|
public MalfunctionType Type { get; set; }
|
|
public string CustomerId { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
// Навигационные свойства
|
|
public Customer Customer { get; set; }
|
|
public List<MalfunctionRepair> MalfunctionRepairs { get; set; }
|
|
public List<MalfunctionCar> MalfunctionCars { get; set; }
|
|
}
|
|
|