using System; using System.Collections.Generic; using System.Text; namespace YLShipBuildLandMap.Entity.ViewModel.SystemSetting.Workflow { public class FlowUserView { public Guid fuserid{ get; set; } public string fusername{ get; set; } public string frolename{ get; set; } public string Mobile{ get; set; } public Guid? DPID{ get; set; } public string DPName{ get; set; } public void FillUserInfo(UserView user, string roleName) { if (!user.UserID.HasValue) { return; } fuserid = user.UserID.Value; fusername = user.Name; frolename = roleName; DPID = user.DepartmentID; DPName = user.DepartmentName; } } }