marco.pms.api/Marco.Pms.Model/Master/ActivityGroupMaster.cs

21 lines
672 B
C#

using System.ComponentModel.DataAnnotations.Schema;
using Marco.Pms.Model.Utilities;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace Marco.Pms.Model.Master
{
public class ActivityGroupMaster : TenantRelation
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public Guid ServiceId { get; set; }
[ValidateNever]
[ForeignKey("ServiceId")]
public ServicesMaster? ServicesMaster { get; set; }
public bool IsSystem { get; set; } = false;
public bool IsActive { get; set; } = true;
}
}