DD.WellWorkover.Cloud/AsbCloudDb/Model/RelationContactWell.cs

21 lines
508 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations.Schema;
namespace AsbCloudDb.Model
{
[Table("t_relation_contact_well")]
public partial class RelationContactWell
{
[Column("id_well")]
public int IdWell { get; set; }
[Column("id_user")]
public int IdUser { get; set; }
[ForeignKey(nameof(IdUser))]
public virtual User User { get; set; } = null!;
[ForeignKey(nameof(IdWell))]
public virtual Well Well { get; set; } = null!;
}
}