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.
29 lines
772 B
29 lines
772 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace PhilExampleCrawler.Common.Models
|
|
{
|
|
public class User
|
|
{
|
|
public int ID { get; }
|
|
public string AuthCode { get; }
|
|
public string Phone { get; }
|
|
public bool Optin_Telegram { get; }
|
|
public bool? HasTelegram { get; set; }
|
|
public DateTime CreateDate { get; }
|
|
|
|
public List<CrawlSession> CrawlSessions { get; set; } = new List<CrawlSession>();
|
|
|
|
|
|
public User(int id, string authCode, string phone, bool optin_telegram, DateTime createDate)
|
|
{
|
|
ID = id;
|
|
AuthCode = authCode;
|
|
Phone = phone;
|
|
Optin_Telegram = optin_telegram;
|
|
CreateDate = createDate;
|
|
}
|
|
}
|
|
}
|