irc-netcore-api/IRaCIS.Core.Domain/Reading/Segment/SegmentBinding.cs

62 lines
1.3 KiB
C#

using IRaCIS.Core.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace IRaCIS.Core.Domain.Models
{
[Comment("分割绑定")]
[Table("SegmentBinding")]
public class SegmentBinding : BaseFullDeleteAuditEntity
{
#region 导航属性
[JsonIgnore]
[Comment("分割分组")]
[ForeignKey("SegmentationId")]
public Segmentation Segmentation { get; set; }
[JsonIgnore]
[Comment("分割")]
[ForeignKey("SegmentId")]
public Segment Segment { get; set; }
#endregion
/// <summary>
/// 分割组Id
/// </summary>
public Guid SegmentationId { get; set; }
/// <summary>
/// 分割Id
/// </summary>
public Guid SegmentId { get; set; }
/// <summary>
/// 任务Id
/// </summary>
public Guid VisitTaskId { get; set; }
/// <summary>
/// 问题Id
/// </summary>
public Guid? QuestionId { get; set; }
/// <summary>
/// 表格行
/// </summary>
public Guid? RowId { get; set; }
/// <summary>
/// 表格问题Id
/// </summary>
public Guid? TableQuestionId { get; set; }
}
}