Leandro Hernan Rojas 8623488221
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m24s
Update ADD Patients y Institutions Models in API
2025-04-20 19:58:17 -03:00

30 lines
803 B
C#

using System.ComponentModel.DataAnnotations;
namespace Domain.Entities
{
public class EProduct
{
public int Id { get; set; }
public int? BusinessunitsId { get; set; }
[Required(ErrorMessage = "Debe ingresar un nombre.")]
public string? Name { get; set; }
[Required(ErrorMessage = "Debe ingresar una descripcion.")]
public string Description { get; set; } = null!;
public int? Categoryid { get; set; }
public string? Origin { get; set; }
public decimal Baseprice { get; set; }
public string Currency { get; set; } = null!;
public bool Isactive { get; set; }
public virtual EBusinessUnit? Businessunits { get; set; }
public virtual EProductCategory? Category { get; set; }
}
}