using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable namespace AsbCloudDb.Model { [Table("t_customer")] public partial class Customer: IId { public Customer() { Users = new HashSet(); Wells = new HashSet(); } [Key] [Column("id")] public int Id { get; set; } [Column("caption")] [StringLength(255)] public string Caption { get; set; } [InverseProperty(nameof(User.Customer))] public virtual ICollection Users { get; set; } [InverseProperty(nameof(Well.Customer))] public virtual ICollection Wells { get; set; } } }