using CPRNIMS.Infrastructure.Entities.Account; using CPRNIMS.Infrastructure.Entities.Items; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.Entities.Inventory { [Table("Inventory")] public class Inventory { [Key] public int InventoryId { get; set; } public decimal QtyIn { get; set; } public decimal QtyOut { get; set; } public decimal QtyOnHand { get; set; } public string? UserId { get; set; } public bool IsActive { get; set; } public long ItemNo { get; set; } public int LotId { get; set; } public Lot? Lot { get; set; } public ICollection InventTrans { get; set; } = []; public ApplicationUser? User { get; set; } public Item? Item { get; set; } } }