mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
19 lines
654 B
C#
19 lines
654 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Marechai.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; }
|
|
public virtual ICollection<MagazineIssue> Issues { get; set; }
|
|
public virtual ICollection<CompaniesByMagazine> Companies { get; set; }
|
|
}
|
|
} |