DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/CategoryTranslation.cs

17 lines
456 B
C#
Raw Normal View History

2023-09-08 14:40:06 -05:00
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.Questions.Db
{
2023-10-12 15:01:24 -05:00
[Table("QuestionCategoryTrans")]
2023-09-08 14:40:06 -05:00
public class CategoryTranslation
{
[Key]
public int Id { get; set; }
[ForeignKey("QuestionCategory")]
public int CategoryId { get; set; }
public string Title { get; set; }
public string Language { get; set; }
}
}