Files
PIbd-23_Valiullin_R.A_Romashki/Romashki/RomashkiDatabase/Models/Post.cs

21 lines
559 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RomashkiContracts.Enums;
namespace RomashkiDatabase.Models;
internal class Post
{
public required string Id { get; set; } = Guid.NewGuid().ToString();
public required string PostId { get; set; }
public required string PostName { get; set; }
public PostType PostType { get; set; }
public bool IsActual { get; set; }
public DateTime ChangeDate { get; set; }
}