//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-01-09 14:34:17
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///
///DoctorCriterionFile
///
[Table("DoctorCriterionFile")]
public class DoctorCriterionFile : Entity, IAuditAdd
{
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 文件路径
///
public string FilePath { get; set; }
///
/// 标准类型
///
public CriterionType CriterionType { get; set; }
///
/// 医生Id
///
public Guid DoctorId { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 文件类型
///
public CriterionFileType FileType { get; set; }
///
/// CreateUserId
///
public Guid CreateUserId { get; set; }
///
/// CreateTime
///
public DateTime CreateTime { get; set; }
///
/// 是否启用
///
public bool IsEnable { get; set; } = true;
[JsonIgnore]
[ForeignKey("DoctorId")]
public Doctor Doctor { get; set; }
}
}