Add magazines.

This commit is contained in:
2019-06-17 03:40:21 +01:00
parent a4792df520
commit 2ff8cc37f6
7 changed files with 8131 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Cicm.Database.Models
{
public class Magazine : DocumentBase
{
[StringLength(8, MinimumLength = 8)]
public string Issn { get; set; }
[DisplayFormat(DataFormatString = "{0:d}")]
[DataType(DataType.Date)]
public DateTime? FirstPublication { get; set; }
public virtual Iso31661Numeric Country { get; set; }
}
}