mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Fix required fields in dump.
This commit is contained in:
@@ -25,19 +25,25 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Marechai.Database.Models
|
||||
{
|
||||
public class Dump : BaseModel<ulong>
|
||||
{
|
||||
public string Dumper { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string DumpingGroup { get; set; }
|
||||
public DateTime? DumpDate { get; set; }
|
||||
public virtual Media Media { get; set; }
|
||||
public virtual MediaDump MediaDump { get; set; }
|
||||
[Required]
|
||||
public string Dumper { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string DumpingGroup { get; set; }
|
||||
public DateTime? DumpDate { get; set; }
|
||||
[Required]
|
||||
public virtual Media Media { get; set; }
|
||||
[Required]
|
||||
public virtual MediaDump MediaDump { get; set; }
|
||||
|
||||
public virtual ApplicationUser User { get; set; }
|
||||
public virtual ICollection<DumpHardware> DumpHardware { get; set; }
|
||||
public ulong MediaId { get; set; }
|
||||
public ulong MediaDumpId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user