OpenAuth.Net/OpenAuth.Repository/Domain/Relevance.cs
yubaolee 9c2d044d12 增加雪花算法https://gitee.com/yitter/idgenerator
增加对数据库主键为numberic的支持
2021-03-13 16:21:56 +08:00

83 lines
2.5 KiB
C#

//------------------------------------------------------------------------------
// <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;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 多对多关系集中映射
/// </summary>
[Table("Relevance")]
public partial class Relevance : StringEntity
{
public Relevance()
{
this.Description= string.Empty;
this.Key= string.Empty;
this.Status= 0;
this.OperateTime= DateTime.Now;
this.OperatorId= string.Empty;
this.FirstId= string.Empty;
this.SecondId= string.Empty;
this.ThirdId= string.Empty;
this.ExtendInfo= string.Empty;
}
/// <summary>
/// 描述
/// </summary>
[Description("描述")]
public string Description { get; set; }
/// <summary>
/// 映射标识
/// </summary>
[Description("映射标识")]
public string Key { get; set; }
/// <summary>
/// 状态
/// </summary>
[Description("状态")]
public int Status { get; set; }
/// <summary>
/// 授权时间
/// </summary>
[Description("授权时间")]
public System.DateTime OperateTime { get; set; }
/// <summary>
/// 授权人
/// </summary>
[Description("授权人")]
public string OperatorId { get; set; }
/// <summary>
/// 第一个表主键ID
/// </summary>
[Description("第一个表主键ID")]
public string FirstId { get; set; }
/// <summary>
/// 第二个表主键ID
/// </summary>
[Description("第二个表主键ID")]
public string SecondId { get; set; }
/// <summary>
/// 第三个主键
/// </summary>
[Description("第三个主键")]
public string ThirdId { get; set; }
/// <summary>
/// 扩展信息
/// </summary>
[Description("扩展信息")]
public string ExtendInfo { get; set; }
}
}