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.
30 lines
695 B
30 lines
695 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model.Classes
|
|
{
|
|
[DataContract(Name = "objetohara")]
|
|
public class ObjetOhara
|
|
{
|
|
[DataMember(Name = "nom")]
|
|
public string Nom { get; set; }
|
|
[DataMember(Name = "image")]
|
|
public string? Image { get; set; }
|
|
|
|
public bool EstFavori { get; set; }
|
|
|
|
public ObjetOhara(string nom, string image = "baseimage.png", bool estFavori = false)
|
|
{
|
|
Nom = nom;
|
|
Image = image;
|
|
EstFavori = estFavori;
|
|
}
|
|
}
|
|
}
|
|
|
|
|