using Edu.Model.Entity.Web; using System; using System.Collections.Generic; using System.Text; namespace Edu.Model.ViewModel.Web { /// /// 教师团队管理视图实体类 /// public class RB_Web_Teacher_ViewModel : RB_Web_Teacher { /// /// 性别字符串 /// public string SexStr { get { string str = "男"; if (this.Sex == 1) { str = "女"; } return str; } } /// /// 类型字符串 /// public string TypeStr { get { string str = ""; switch (this.Type) { case 1: str = "日语培训老师"; break; case 2: str = "留学服务老师"; break; } return str; } } } }