namespace MyTelegram.Domain.Aggregates.Photo;

public class PhotoId(string value) : Identity<PhotoId>(value)
{
    public static PhotoId Create(long serverFileId)
    {
        return NewDeterministic(GuidFactories.Deterministic.Namespaces.Commands, $"photoid-{serverFileId}");
    }
}