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.
32 lines
798 B
32 lines
798 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CanYouBuildIt.Model
|
|
{
|
|
[DataContract]
|
|
public class Utilisateur
|
|
{
|
|
[DataMember]
|
|
public string username { get; private set; }
|
|
[DataMember]
|
|
public string password { get; private set; }
|
|
[DataMember]
|
|
public List<Build> listBuild;
|
|
[DataMember]
|
|
public List<int> listFav;
|
|
|
|
|
|
public Utilisateur(string name, string pass, List<Build> listbuild = null, List<int> listfav = null)
|
|
{
|
|
username = name;
|
|
password = pass;
|
|
listBuild = listbuild;
|
|
listFav = listfav;
|
|
}
|
|
}
|
|
}
|