using Monitoring.Core.Domain.AlarmCommentPrimitives;

namespace Monitoring.Core.Domain;

public class AlarmResetCommentTranslate
{
	public AlarmResetCommentTranslateId Id { get; }
	public AlarmResetCommentValue Value { get; private set; }
	public AlarmResetCommentLanguage Language { get; }
	public AlarmResetComment Comment { get; }
	public AlarmResetCommentId CommentId { get; }

	protected AlarmResetCommentTranslate(){}

	public AlarmResetCommentTranslate(
		AlarmResetCommentTranslateId id,
		AlarmResetCommentId commentId,
		AlarmResetCommentValue value,
		AlarmResetCommentLanguage language)
	{
		Id = id;
		CommentId = commentId;
		Value = value;
		Language = language;
	}

	public void UpdateValue(AlarmResetCommentValue value)
	{
		Value = value;
	}

	
}