using Indotalent.Data.Abstracts;
using Indotalent.Data.Interfaces;

namespace Indotalent.Data.Entities;

public class Product : BaseEntity, IHasAutoNumber, IMultiTenant
{
    public string? TenantId { get; set; }
    public string? Name { get; set; }
    public string? AutoNumber { get; set; }
    public string? Description { get; set; }
    public decimal? UnitPrice { get; set; }
    public bool? Physical { get; set; } = true;
    public string? UnitMeasureId { get; set; }
    public UnitMeasure? UnitMeasure { get; set; }
    public string? ProductGroupId { get; set; }
    public ProductGroup? ProductGroup { get; set; }
}