using System; using System.Collections.Generic; using System.Linq; using System.Web; using PalGain.Core; using BatchService.Framework.Utility; using sbcLabSystem.Data.Domain.Backstage; namespace sbcLabSystem.Models.Backstage { public class StandAnswerInfoViewModel { public int Id { get; set; } public QCDistribution QCDistInfo { get; set; } public int ProjectId { get; set; } public string AnswerData { get; set; } public bool ABO_RhD_FirstPatient { get; set; } public bool CrossMatch_W_FirstPatient { get; set; } public bool AntibodyScreening_FirstPatient { get; set; } public bool AntibodyIdentification_FirstPatient { get; set; } public DateTime? CreateDate { get; set; } public int AdminID { get; set; } public DateTime? UpdateDate { get; set; } public bool IsRead { get; set; } public int ABO_RhD_SecPatient { get; set; } public int ABO_RhD_ThdPatient { get; set; } public int CrossMatch_W_SecPatient { get; set; } public int CrossMatch_W_ThdPatient { get; set; } public int CrossMatch_Y_FirstPatient { get; set; } public int CrossMatch_Y_SecPatient { get; set; } public int CrossMatch_Y_ThdPatient { get; set; } public int CrossMatch_Z_FirstPatient { get; set; } public int CrossMatch_Z_SecPatient { get; set; } public int CrossMatch_Z_ThdPatient { get; set; } public int AntibodyScreening_SecPatient { get; set; } public int AntibodyScreening_ThdPatient { get; set; } public int AntibodyIdentification_SecPatient { get; set; } public int AntibodyIdentification_ThdPatient { get; set; } public static StandAnswerInfoViewModel FromEntity(StandAnswerInfo entity) { StandAnswerInfoViewModel viewModel = ClassValueCopier.Mapper(entity); return viewModel; } public static StandAnswerInfo ToEntity(StandAnswerInfoViewModel viewModel) { StandAnswerInfo entity = null; return entity; } } }