@@ -1,46 +1,62 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("»ú¹¹ - Site")]
|
||||
[Table("Site")]
|
||||
public partial class Site : BaseFullAuditEntity
|
||||
{
|
||||
[Table("Site")]
|
||||
public partial class Site : BaseFullAuditEntity
|
||||
{
|
||||
#region µ¼º½ÊôÐÔ
|
||||
[JsonIgnore]
|
||||
[ForeignKey("HospitalId")]
|
||||
public Hospital Hospital { get; set; }
|
||||
[JsonIgnore]
|
||||
public List<TrialSite> TrialSiteList { get; set; }
|
||||
#endregion
|
||||
#region µ¼º½ÊôÐÔ
|
||||
[JsonIgnore]
|
||||
[ForeignKey("HospitalId")]
|
||||
public Hospital Hospital { get; set; }
|
||||
[JsonIgnore]
|
||||
public List<TrialSite> TrialSiteList { get; set; }
|
||||
#endregion
|
||||
|
||||
public string SiteName { get; set; } = string.Empty;
|
||||
public string SiteNameCN{ get; set; } = string.Empty;
|
||||
public string AliasName { get; set; } = string.Empty;
|
||||
public string SiteCode { get; set; } = string.Empty;
|
||||
[StringLength(500)]
|
||||
public string Address { get; set; } = null!;
|
||||
|
||||
public int Code { get; set; }
|
||||
public string AliasName { get; set; } = null!;
|
||||
|
||||
public string City { get; set; } = string.Empty;
|
||||
public string Country { get; set; } = string.Empty;
|
||||
public Guid? HospitalId { get; set; }
|
||||
public int State { get; set; }
|
||||
public string City { get; set; } = null!;
|
||||
|
||||
public string Province { get; set; } = string.Empty;
|
||||
public int Code { get; set; }
|
||||
|
||||
public string UniqueCode { get; set; } = string.Empty;
|
||||
public string ContactName { get; set; } = null!;
|
||||
|
||||
public string Address { get; set; } = string.Empty;
|
||||
public string ContactPhone { get; set; } = null!;
|
||||
|
||||
public string DirectorName { get; set; } = string.Empty;
|
||||
public string DirectorPhone { get; set; } = string.Empty;
|
||||
public string ContactName { get; set; } = string.Empty;
|
||||
public string ContactPhone { get; set; } = string.Empty;
|
||||
public string Country { get; set; } = null!;
|
||||
|
||||
public string DirectorName { get; set; } = null!;
|
||||
|
||||
public string DirectorPhone { get; set; } = null!;
|
||||
|
||||
public Guid? HospitalId { get; set; }
|
||||
|
||||
public string Province { get; set; } = null!;
|
||||
|
||||
[StringLength(500)]
|
||||
public string SiteCode { get; set; } = null!;
|
||||
|
||||
[StringLength(500)]
|
||||
public string SiteName { get; set; } = null!;
|
||||
|
||||
[StringLength(400)]
|
||||
public string SiteNameCN { get; set; } = null!;
|
||||
|
||||
[Comment(" ÔÝʱδÓÃ")]
|
||||
public int State { get; set; }
|
||||
|
||||
public string UniqueCode { get; set; } = null!;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user