mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add resolutions by GPU validation.
This commit is contained in:
@@ -29,12 +29,15 @@
|
||||
*******************************************************************************/
|
||||
|
||||
using System.ComponentModel;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Cicm.Database.Models
|
||||
{
|
||||
public class ResolutionsByGpu : BaseModel<long>
|
||||
{
|
||||
public int GpuId { get; set; }
|
||||
[Remote("VerifyUnique", "ResolutionsByGpu", "Admin", AdditionalFields = nameof(ResolutionId))]
|
||||
public int GpuId { get; set; }
|
||||
[Remote("VerifyUnique", "ResolutionsByGpu", "Admin", AdditionalFields = nameof(GpuId))]
|
||||
public int ResolutionId { get; set; }
|
||||
|
||||
[DisplayName("GPU")]
|
||||
|
||||
Reference in New Issue
Block a user