2022-02-03 13:19:48 +00:00
|
|
|
namespace ASC.Web.Api.Models;
|
2019-06-11 15:20:04 +00:00
|
|
|
|
2022-02-03 13:19:48 +00:00
|
|
|
public class Contact
|
|
|
|
{
|
|
|
|
public string Type { get; set; }
|
|
|
|
public string Value { get; set; }
|
2019-06-11 15:20:04 +00:00
|
|
|
|
2022-02-03 13:19:48 +00:00
|
|
|
//For binder
|
|
|
|
public Contact() { }
|
2019-06-11 15:20:04 +00:00
|
|
|
|
2022-02-03 13:19:48 +00:00
|
|
|
public Contact(string type, string value)
|
|
|
|
{
|
|
|
|
Type = type;
|
|
|
|
Value = value;
|
2019-06-11 15:20:04 +00:00
|
|
|
}
|
2022-02-03 13:19:48 +00:00
|
|
|
|
2022-02-07 16:03:16 +00:00
|
|
|
public static Contact GetSample()
|
|
|
|
{
|
|
|
|
return new Contact("GTalk", "my@gmail.com");
|
|
|
|
}
|
2019-06-11 15:20:04 +00:00
|
|
|
}
|