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.
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Sevomin.Models
|
|
{
|
|
[Table("Avalin")]
|
|
public class Avalin : User
|
|
{
|
|
public string CompanyName { get; set; }
|
|
|
|
[Required]
|
|
public string NationalId { get; set; }
|
|
|
|
public Avalin()
|
|
{
|
|
|
|
}
|
|
|
|
public Avalin(string userName, string companyName) : base(userName)
|
|
{
|
|
this.CompanyName = companyName;
|
|
}
|
|
}
|
|
}
|