37 lines
1014 B
C#
37 lines
1014 B
C#
using System;
|
|
using System.Data.Entity;
|
|
using System.Linq;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SHERPA.BBM.DatabaseModels
|
|
{
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
/// <summary>
|
|
/// Tabella Tags x indicizzazione
|
|
/// </summary>
|
|
[Table("Tags")]
|
|
public class TagModel
|
|
{
|
|
#region Public Properties
|
|
|
|
[Key, Column("TagId"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int TagId { get; set; }
|
|
|
|
[Column("CodTag"), MaxLength(50)]
|
|
public string CodTag { get; set; } = "";
|
|
|
|
[Column("Descript"), MaxLength(250)]
|
|
public string Descript { get; set; } = "";
|
|
|
|
[Column("TagType")]
|
|
public TagType TagType { get; set; } = TagType.GenTag;
|
|
|
|
public IList<TagItemModel> TagNav { get; set; }
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |