62,025
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ZY.Domain.Customer
{
public class tm_officialMatchGroup
{
[Key]
[ForeignKey("tm_officialMatchGroupInfo")]
public string groupid { get; set; }
public string groupname { get; set; }
public DateTime createdate { get; set; }
public int matchid { get; set; }
public bool iseffective { get; set; } = false;
public virtual List<tm_officialMatchGroupInfo> tm_officialMatchGroupInfo { get; set; }
[ForeignKey("tm_officialMatchcode")]
public virtual List<tm_officialMatchcode> tm_officialMatchcode { get; set; }
}
}
using System.ComponentModel.DataAnnotations.Schema;
namespace ZY.Domain.Customer
{
public class tm_officialMatchcode
{
// [ForeignKey("tm_officialTeam")]
public string groupid { get; set; }
// public string groupname { get; set; }
public int id { get; set; }
public int type { get; set; }
public int matchid { get; set; }
public string teamid1 { get; set; }
public string teamid2 { get; set; }
public string winer { get; set; }
public int teamidfen1 { get; set; }
public int teamidfen2 { get; set; }
// public virtual tm_officialTeam tm_officialTeam { get; set; }
}
}
using System.ComponentModel.DataAnnotations.Schema;
namespace ZY.Domain.Customer
{
public class tm_officialMatchGroupInfo
{
public int id { get; set; }
[ForeignKey("tm_officialTeam")]
public string teamid { get; set; }
public string groupid { get; set; }
public int matchid { get; set; }
public string groupinfoName { get; set; }
public int groupsequence { get; set; }
public virtual tm_officialTeam tm_officialTeam { get; set; }
}
}