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