mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Fix required fields in media.
This commit is contained in:
@@ -25,13 +25,15 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Aaru.CommonTypes;
|
||||
|
||||
namespace Marechai.Database.Models
|
||||
{
|
||||
public class Media : BaseModel<ulong>
|
||||
{
|
||||
public string Title { get; set; }
|
||||
[Required]
|
||||
public string Title { get; set; }
|
||||
public ushort? Sequence { get; set; }
|
||||
public ushort? LastSequence { get; set; }
|
||||
public MediaType Type { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user