Exemple #1
0
        public static VIEW_FW_USER_ASSIGN ToViewModel(FW_USER_ASSIGN model)
        {
            VIEW_FW_USER_ASSIGN item = new VIEW_FW_USER_ASSIGN();

            item.USER_ID   = model.USER_ID;
            item.HIER_TYPE = model.HIER_TYPE;
            item.REF_CD    = model.REF_CD;
            return(item);
        }
Exemple #2
0
        public static FW_USER_ASSIGN ToEntity(VIEW_FW_USER_ASSIGN model)
        {
            FW_USER_ASSIGN item = new FW_USER_ASSIGN();

            item.USER_ID   = model.USER_ID;
            item.HIER_TYPE = model.HIER_TYPE;
            item.REF_CD    = model.REF_CD;
            return(item);
        }
Exemple #3
0
        public static IEnumerable <VIEW_FW_USER_ASSIGN> ToListViewModel(IEnumerable <FW_USER_ASSIGN> list)
        {
            var listModel = new List <VIEW_FW_USER_ASSIGN>();

            foreach (FW_USER_ASSIGN item in list)
            {
                listModel.Add(VIEW_FW_USER_ASSIGN.ToViewModel(item));
            }
            return(listModel);
        }