19 lines
573 B
C#
19 lines
573 B
C#
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.Inventory
|
|
{
|
|
public class ItemGroupMaster
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; } = default!;
|
|
public string Description { get; set; } = default!;
|
|
public bool IsActive { get; set; } = true;
|
|
public Guid ItemCategoryId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("ItemCategoryId")]
|
|
public ItemCategoryMaster? ItemCategory { get; set; }
|
|
}
|
|
}
|