39 lines
920 B
C#
39 lines
920 B
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Yitter.IdGenerator;
|
|
|
|
namespace WGShare.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 超级管理员
|
|
///</summary>
|
|
[SugarTable("admin")]
|
|
public class Admin
|
|
{
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "Name")]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "Account")]
|
|
public string Account { get; set; }
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "Password")]
|
|
public string Password { get; set; }
|
|
}
|
|
}
|