API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PlaceHolder.cs 528B

123456789101112131415161718
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace UnivateProperties_API.Model.Communication
  4. {
  5. public class PlaceHolder
  6. {
  7. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  8. [Key]
  9. public int Id { get; set; }
  10. public string Name { get; set; }
  11. public string BoundTo { get; set; }
  12. [ForeignKey("Template")]
  13. public int TemplateId { get; set; }
  14. public virtual Template Template { get; set; }
  15. }
  16. }