forked from ddrilling/AsbCloudServer
22 lines
773 B
C#
22 lines
773 B
C#
using Microsoft.EntityFrameworkCore;
|
||
using System;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
||
namespace AsbCloudDb.Model
|
||
{
|
||
[Table("t_process_map_drilling_cache"), Comment("Кеш-таблица для хранения данных для РТК-отчета")]
|
||
public class ProcessMapDrillingCache : IId
|
||
{
|
||
[Key]
|
||
[Column("id")]
|
||
public int Id { get; set; }
|
||
|
||
[Column("date_from", TypeName = "timestamp with time zone"), Comment("Дата начала")]
|
||
public DateTimeOffset DateFrom { get; set; }
|
||
|
||
[Column("date_to", TypeName = "timestamp with time zone"), Comment("Дата окончания")]
|
||
public DateTimeOffset DateTo { get; set; }
|
||
}
|
||
}
|