mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
flow ui
This commit is contained in:
@@ -1,19 +1,69 @@
|
||||
using System;
|
||||
//------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a CodeSmith Template.
|
||||
//
|
||||
// DO NOT MODIFY contents of this file. Changes to this
|
||||
// file will be lost if the code is regenerated.
|
||||
// Author:Yubao Li
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public partial class User
|
||||
{
|
||||
public void CheckPassword(string password)
|
||||
{
|
||||
if (Password != password)
|
||||
{
|
||||
throw new Exception("密码错误");
|
||||
}
|
||||
}
|
||||
public partial class User :Entity
|
||||
{
|
||||
public User()
|
||||
{
|
||||
this.Account= string.Empty;
|
||||
this.Password= string.Empty;
|
||||
this.Name= string.Empty;
|
||||
this.Sex= 0;
|
||||
this.Status= 0;
|
||||
this.Type= 0;
|
||||
this.BizCode= string.Empty;
|
||||
this.CreateTime= DateTime.Now;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Account { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Password { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Sex { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BizCode { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime CreateTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Guid? CrateId { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user