mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 08:37:28 +08:00
77 lines
1.4 KiB
C#
77 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
|
|
namespace OpenAuth.Domain
|
|
{
|
|
/// <summary>
|
|
/// 多对多映射
|
|
/// </summary>
|
|
public partial class Relevance
|
|
{
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 第一个表主键ID
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public int FirstId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 第二个表主键ID
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public int SecondId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// 资源分类标识
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 授权时间
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public System.DateTime OperateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 授权人
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public int OperatorId { get; set; }
|
|
|
|
|
|
public Relevance()
|
|
{
|
|
this.Id= 0;
|
|
this.FirstId= 0;
|
|
this.SecondId= 0;
|
|
this.Description= string.Empty;
|
|
this.Key= string.Empty;
|
|
this.Status= 0;
|
|
this.OperateTime= DateTime.Now;
|
|
this.OperatorId= 0;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |