22 lines
477 B
C#
22 lines
477 B
C#
using DataModels.Enums;
|
|
using DataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DatabaseImplement.Models
|
|
{
|
|
public class Purchase : IPurchase
|
|
{
|
|
public Guid Id { get; set; }
|
|
[Required]
|
|
public DateTime DatePurchase { get; set; }
|
|
[Required]
|
|
public PurchaseStatus Status { get; private set; } = PurchaseStatus.Unknown;
|
|
|
|
}
|
|
}
|