39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
|
|
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2024-06-04 10:38:19
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
using System;
|
|
using IRaCIS.Core.Domain.Share;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Collections.Generic;
|
|
using Microsoft.EntityFrameworkCore;
|
|
namespace IRaCIS.Core.Domain.Models;
|
|
|
|
[Comment("项目 - 项目部位配置")]
|
|
[Table("TrialBodyPart")]
|
|
public class TrialBodyPart : BaseAddAuditEntity
|
|
{
|
|
#region 导航属性
|
|
|
|
[JsonIgnore]
|
|
public Trial Trial { get; set; }
|
|
|
|
#endregion
|
|
|
|
public string Code { get; set; } = null!;
|
|
|
|
public bool IsHandAdd { get; set; }
|
|
|
|
[StringLength(500)]
|
|
public string Name { get; set; } = null!;
|
|
|
|
[StringLength(500)]
|
|
public string NameCN { get; set; } = null!;
|
|
|
|
public Guid TrialId { get; set; }
|
|
|
|
}
|
|
|