} // 关联上传人ID public BusinessImage() { this.Id = Guid.NewGuid(); this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <BusinessImage>(); this.UploadedTime = DateTime.Now; this.IsForTitle = false; }
} // 关联用户 public Employee() { this.Id = Guid.NewGuid(); UpdateTime = CreateDateTime = Birthday = ExpiredDateTime = DateTime.Now; Name = Description = EmployeeCode = TelephoneNumber = Mobile = Email = CredentialsCode = Address = AvatarPath = ""; SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <Employee>(); }
} // 创建人 public CourseItemContent() { this.Id = Guid.NewGuid(); Name = Description = SecondTitle = HeadContent = FootContent = ""; UpdateDate = DateTime.Now; SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <CourseItemContent>(); }
} // 创建人 public Article() { Id = Guid.NewGuid(); Name = Description = ArticleSecondTitle = ArticleSource = ""; IsOriented = false; CreateDate = DateTime.Now; PublishDate = DateTime.Now; OpenDate = DateTime.Now; CloseDate = DateTime.Now; UpdateDate = DateTime.Now; SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <Article>(); }
public ArticleTopic() { this.Id = Guid.NewGuid(); this.Name = this.Description = ""; SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleTopic>(); }
public ArticleWithVideo() { Id = Guid.NewGuid(); SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleWithVideo>(); }
} // 关联上传人ID public BusinessFile() { this.Id = Guid.NewGuid(); this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <BusinessFile>(); this.AttachmentTimeUploaded = DateTime.Now; }
} // 标签引用次数 public ArticleCommentTag() { this.Id = Guid.NewGuid(); this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleCommentTag>(); }