- using System.ComponentModel.DataAnnotations.Schema;
- using System.ComponentModel.DataAnnotations;
- namespace API_development
- {
- [Table("Hobbies")]
- public class Hobbies
- {
- [Key]
- public int idHobbi { get; set; }
- [Column("nameHobbi")]
- public string name{ get; set; }
- }
- }
|