public HR_SEEDOCHISICD EntityToModel(SeeDocHisICD model) { if (model != null) { var entity = new HR_SEEDOCHISICD() { INFOID = model.INFOID, HISTORYID = model.HISTORYID, ICDCODE = model.ICDCODE, ICDNAME = model.ICDNAME, DETAILS = model.DETAILS, ISMAIN = model.ISMAIN }; return(entity); } return(null); }
public SeeDocHisICD EntityToModel(HR_SEEDOCHISICD entity) { if (entity != null) { var model = new SeeDocHisICD() { INFOID = entity.INFOID, HISTORYID = entity.HISTORYID, ICDCODE = entity.ICDCODE, ICDNAME = entity.ICDNAME, DETAILS = entity.DETAILS, ISMAIN = entity.ISMAIN }; return(model); } return(null); }