mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	* Fixed the typeahead not having the same size input box as other inputs
* Implemented the ability to add multiple series to a collection through bulk operations flow. Updated book parser to handle "@import url('...');" syntax as well as @import '...';
* Implemented the ability to create a new Collection tag via bulk operations flow.
		
	
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			659 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			659 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.ComponentModel.DataAnnotations;
 | 
						|
using API.Entities.Enums;
 | 
						|
using API.Entities.Interfaces;
 | 
						|
 | 
						|
namespace API.Entities
 | 
						|
{
 | 
						|
    public class ServerSetting : IHasConcurrencyToken
 | 
						|
    {
 | 
						|
        [Key]
 | 
						|
        public ServerSettingKey Key { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        /// The value of the Setting. Converter knows how to convert to the correct type
 | 
						|
        /// </summary>
 | 
						|
        public string Value { get; set; }
 | 
						|
 | 
						|
        /// <inheritdoc />
 | 
						|
        [ConcurrencyCheck]
 | 
						|
        public uint RowVersion { get; private set; }
 | 
						|
 | 
						|
        /// <inheritdoc />
 | 
						|
        public void OnSavingChanges()
 | 
						|
        {
 | 
						|
            RowVersion++;
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |