mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Refactor and reorganize code.
This commit is contained in:
@@ -36,14 +36,9 @@ namespace Marechai.Database.Models
|
||||
{
|
||||
public class InstructionSet : BaseModel<int>
|
||||
{
|
||||
public InstructionSet()
|
||||
{
|
||||
Processors = new HashSet<Processor>();
|
||||
}
|
||||
public InstructionSet() => Processors = new HashSet<Processor>();
|
||||
|
||||
[Required]
|
||||
[StringLength(45)]
|
||||
[Remote("VerifyUnique", "InstructionSets", "Admin")]
|
||||
[Required, StringLength(45), Remote("VerifyUnique", "InstructionSets", "Admin")]
|
||||
public string Name { get; set; }
|
||||
|
||||
public virtual ICollection<Processor> Processors { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user