30 lines
917 B
C#
30 lines
917 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WorkFlowCheck.Common.DTO
|
|
{
|
|
public class CheckListRowDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public int CheckListHeaderId { get; set; }
|
|
public int CheckListTemplateRowId { get; set; }
|
|
public CheckListTemplateRowDTO? CheckListTemplateRowDTO { get; set; }
|
|
public string GroupName => $"AnswerGroup_{CheckListTemplateRowDTO?.Id ?? 0}";
|
|
|
|
[DisplayName("Eredmény")]
|
|
public string Answer { get; set; } = null!;
|
|
|
|
public bool? AnswerYes { get; set; } = null!;
|
|
public bool? AnswerNo { get; set; } = null!;
|
|
|
|
[DisplayName("Kép")]
|
|
public byte[]? Photo { get; set; } = null!;
|
|
public Guid GuidNumber { get; set; }
|
|
}
|
|
}
|