using ServiceStack.DataAnnotations;

namespace ServiceStack.Common.Tests.Models;

public class ModelWithIndexFields
{
    public string Id { get; set; }

    [Index]
    public string Name { get; set; }

    public string AlbumId { get; set; }

    [Index(true)]
    public string UniqueName { get; set; }
        
    [Index(Name = "altname")]
    public string Custom { get; set; }
}