using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; namespace Distribution.Models { public class SupplierPaymentGRN : Template { public Guid FK_SupplierPaymentId { get; set; } [ForeignKey("FK_SupplierPaymentId")] public SupplierPayment? SupplierPayment { get; set; } public Guid FK_GoodsReceiptId { get; set; } [ForeignKey("FK_GoodsReceiptId")] public GoodsReceipt? GoodsReceipt { get; set; } [Precision(18, 2)] public decimal AllocatedAmount { get; set; } } }