20 lines
549 B
C#
20 lines
549 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SmallSoftwareDatabase.Models;
|
|
|
|
internal class Manufacturer
|
|
{
|
|
public required string Id { get; set; }
|
|
public required string ManufacturerName { get; set; }
|
|
public string? PrevManufacturerName { get; set; }
|
|
public string? PrevPrevManufacturerName { get; set; }
|
|
|
|
[ForeignKey("ManufacturerId")]
|
|
public List<Software>? Softwares { get; set; }
|
|
|
|
} |