22 lines
670 B
C#
22 lines
670 B
C#
![]() |
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|||
|
namespace Back.Data.Models
|
|||
|
{
|
|||
|
public class Pattern
|
|||
|
{
|
|||
|
[Key]
|
|||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|||
|
public int ID { get; set; }
|
|||
|
public int inp { get; set; }
|
|||
|
public int BillTypeID { get; set; }
|
|||
|
public string Title { get; set; }
|
|||
|
public string Dec { get; set; }
|
|||
|
public bool Status { get; set; }
|
|||
|
#region Navigation
|
|||
|
public virtual BillType BillType { get; set; }
|
|||
|
public virtual ICollection<FildModeInPattern> FildModeInPatterns { get; set; }
|
|||
|
#endregion
|
|||
|
}
|
|||
|
}
|