using System;

namespace QC.Utils.Data;

[AttributeUsage(AttributeTargets.Class)]
public class ModelSource : Attribute
{
	public Type EntityType { get; set; }

	public string EntityTypeName { get; set; }

	public ModelSource(Type entityType)
	{
		EntityType = entityType;
	}

	public ModelSource(string entityTypeName)
	{
		EntityTypeName = entityTypeName;
	}
}
