My system consist of React client app + ASP.NET Core API + SQL Server database. I have a db table called 'Titles':
Id (Primary Key, nvarchar, not null)
Name (nvarchar, not null)
When I create a new title entity, I use a random Guid as Id. However, I want the client user to be able to use a unique (but mutable), friendly name to reach the page, something like: http://www.mywebsite.com/titles/friendly-title-name instead of http://www.mywebsite.com/titles/31b18dba-4070-4b13-bab5-2fc57de9e3a9
Is it a good practice to use the 'name' column for this purpose? So, apart from the unique, immutable, primary key 'Id', I would have unique, mutable column 'name' to identify an entity.