mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add magazines issues.
This commit is contained in:
22
Cicm.Database/Models/MagazineIssue.cs
Normal file
22
Cicm.Database/Models/MagazineIssue.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Cicm.Database.Models
|
||||
{
|
||||
public class MagazineIssue : BaseModel<long>
|
||||
{
|
||||
[Required]
|
||||
public long MagazineId { get; set; }
|
||||
[Required]
|
||||
public string Caption { get; set; }
|
||||
public string NativeCaption { get; set; }
|
||||
[DisplayFormat(DataFormatString = "{0:d}")]
|
||||
[DataType(DataType.Date)]
|
||||
public DateTime? Published { get; set; }
|
||||
[StringLength(18)]
|
||||
public string ProductCode { get; set; }
|
||||
public short Pages { get; set; }
|
||||
|
||||
public virtual Magazine Magazine { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user