Exemple #1
0
        public static IEnumerable <VIEW_MST_RESUME> ToListViewModel(IEnumerable <MST_RESUME> list)
        {
            var listModel = new List <VIEW_MST_RESUME>();

            foreach (MST_RESUME item in list)
            {
                listModel.Add(VIEW_MST_RESUME.ToViewModel(item));
            }
            return(listModel);
        }
Exemple #2
0
        public static VIEW_MST_RESUME ToViewModel(MST_RESUME model)
        {
            VIEW_MST_RESUME item = new VIEW_MST_RESUME();

            item.RESUME_CD     = model.RESUME_CD;
            item.MEMBER_CD     = model.MEMBER_CD;
            item.RESUME_NAME   = model.RESUME_NAME;
            item.EMAIL         = model.EMAIL;
            item.NAME          = model.NAME;
            item.SEX           = model.SEX;
            item.EDUCATION     = model.EDUCATION;
            item.EXPERIENCE    = model.EXPERIENCE;
            item.PHONE         = model.PHONE;
            item.PORTRAIT      = model.PORTRAIT;
            item.CURRENT_STATE = model.CURRENT_STATE;
            item.STATUS        = model.STATUS;
            item.CREATE_DT     = model.CREATE_DT;
            item.VERSION       = model.VERSION;
            item.SYNCOPERATION = model.SYNCOPERATION;
            item.SYNCVERSION   = model.SYNCVERSION;
            item.SYNCFLAG      = model.SYNCFLAG;
            return(item);
        }