2021-10-10 19:10:40 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Model.Models
|
|
|
|
|
|
{
|
2021-10-11 21:50:50 +08:00
|
|
|
|
public class user:baseModel<int>
|
2021-10-10 19:10:40 +08:00
|
|
|
|
{
|
2021-10-11 21:50:50 +08:00
|
|
|
|
public string username { get; set; }
|
|
|
|
|
|
public string password { get; set; }
|
|
|
|
|
|
public string icon { get; set; }
|
|
|
|
|
|
public string nick { get; set; }
|
|
|
|
|
|
public string email { get; set; }
|
|
|
|
|
|
public string ip { get; set; }
|
|
|
|
|
|
public int? age { get; set; }
|
|
|
|
|
|
public string introduction { get; set; }
|
2021-10-12 13:45:24 +08:00
|
|
|
|
|
2021-10-11 21:50:50 +08:00
|
|
|
|
public ICollection<role> roles { get; set; }
|
|
|
|
|
|
|
2021-10-10 19:10:40 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|