29 lines
908 B
C#
29 lines
908 B
C#
using CPRNIMS.Infrastructure.Entities.Account;
|
|
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> InventTrans { get; set; } = [];
|
|
public ApplicationUser? User { get; set; }
|
|
}
|
|
}
|