using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace IWS5.DatabaseAccess.IwsDataModels;

[Table("ATMergeOrder")]
[Index("Name", Name = "UQ_ATMergeOrder_Name", IsUnique = true)]
public partial class AtmergeOrder
{
    [Key]
    public int Id { get; set; }

    [StringLength(100)]
    public string Name { get; set; } = null!;

    [StringLength(255)]
    public string? Description { get; set; }

    [InverseProperty("MergeOrder")]
    public virtual ICollection<AtconvertDefinition> AtconvertDefinitions { get; set; } = new List<AtconvertDefinition>();
}
