forked from ddrilling/AsbCloudServer
21 lines
508 B
C#
21 lines
508 B
C#
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!;
|
|
}
|
|
}
|