using System; using System.Collections.Generic; using System.Data; using System.Linq; namespace OpenAuth.Domain { /// /// 多对多映射 /// public partial class Relevance { /// /// ID /// /// public int Id { get; set; } /// /// 第一个表主键ID /// /// public int FirstId { get; set; } /// /// 第二个表主键ID /// /// public int SecondId { get; set; } /// /// 描述 /// /// public string Description { get; set; } /// /// /// /// public string Key { get; set; } /// /// 资源分类标识 /// /// public int Status { get; set; } /// /// 授权时间 /// /// public System.DateTime OperateTime { get; set; } /// /// 授权人 /// /// 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; } } }