karmabot/JetKarmaBot/Models/AwardType.cs
2019-11-17 13:41:25 +00:00

27 lines
744 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace JetKarmaBot.Models
{
public partial class AwardType
{
public AwardType()
{
Awards = new HashSet<Award>();
}
public int AwardTypeId { get; set; }
public string CommandName { get; set; }
public long ChatId { get; set; }
public string NominativeName { get; set; }
public string AccusativeName { get; set; }
public string Symbol { get; set; }
public string Description { get; set; }
public virtual ICollection<Award> Awards { get; set; }
[ForeignKey("ChatId")]
public virtual Chat Chat { get; set; }
}
}