/// <summary> /// 构造函数 /// </summary> public SpecialConsultAnswer_model() { specialAnswerId = -1; answerHtmlUrl = ""; specialConsult_model = new SpecialConsult_model(); expert_model = new User_model(); clothList_model = new List <SpecialConsultAnswerClothes_model>(); }
public Post_model Post_model; //原贴类,拥有原贴的信息 /// <summary> /// 构造函数 /// </summary> public Collect_model() { Collector = new User_model(); Post_model = new Post_model(); }
public User_model user;//咨询者,即普通用户 public SpecialConsult_model() { user = new User_model(); }
public Post_model Post_model; //原贴类,拥有原贴的信息 /// <summary> /// 构造函数 /// </summary> public ReplyPost_model() { Commenter = new User_model(); Post_model = new Post_model(); }
public User_model BeCommenter; //User_model类,被评论者 public PostComment_model() { Commenter = new User_model(); BeCommenter = new User_model(); }
public Theme_model Theme; //Theme_model类,帖子的话题 public Post_model() { User = new User_model(); Theme = new Theme_model(); }