forked from ddrilling/AsbCloudServer
29 lines
842 B
C#
29 lines
842 B
C#
using Microsoft.EntityFrameworkCore;
|
||
using System;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
||
namespace AsbCloudDb.Model.GTR
|
||
{
|
||
[Table("t_wits_int"), Comment("таблица данных ГТИ с типом значения int16 int32")]
|
||
public class WitsInt : IWitsBase
|
||
{
|
||
[Column("id_telemetry")]
|
||
public int IdTelemetry { get; set; }
|
||
|
||
[Column("id_record")]
|
||
public int IdRecord { get; set; }
|
||
|
||
[Column("id_item")]
|
||
public int IdItem { get; set; }
|
||
|
||
[Column("date", TypeName = "timestamp with time zone")]
|
||
public DateTimeOffset DateTime { get; set; }
|
||
|
||
[Column("Value", TypeName = "bigint")]
|
||
public int? Value { get; set; }
|
||
|
||
[ForeignKey(nameof(IdTelemetry))]
|
||
public virtual Telemetry? Telemetry { get; set; }
|
||
}
|
||
}
|