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

22 lines
773 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}