2019-06-17 03:40:21 +01:00
|
|
|
using System;
|
2019-06-17 03:50:32 +01:00
|
|
|
using System.Collections.Generic;
|
2019-06-17 03:40:21 +01:00
|
|
|
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; }
|
|
|
|
|
|
2019-06-17 03:50:32 +01:00
|
|
|
public virtual Iso31661Numeric Country { get; set; }
|
|
|
|
|
public virtual ICollection<MagazineIssue> Issues { get; set; }
|
2019-06-17 03:40:21 +01:00
|
|
|
}
|
|
|
|
|
}
|