Exemplo n.º 1
0
        }                                            // 关联上传人ID

        public BusinessImage()
        {
            this.Id           = Guid.NewGuid();
            this.SortCode     = UtilitiesForEntity.SortCodeByDefaultDateTime <BusinessImage>();
            this.UploadedTime = DateTime.Now;
            this.IsForTitle   = false;
        }
Exemplo n.º 2
0
        }                                                         // 关联用户

        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>();
        }
Exemplo n.º 4
0
        }                                                         // 创建人

        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>();
        }
Exemplo n.º 5
0
 public ArticleTopic()
 {
     this.Id   = Guid.NewGuid();
     this.Name = this.Description = "";
     SortCode  = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleTopic>();
 }
Exemplo n.º 6
0
 public ArticleWithVideo()
 {
     Id       = Guid.NewGuid();
     SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleWithVideo>();
 }
Exemplo n.º 7
0
 }                                                              // 关联上传人ID
 public BusinessFile()
 {
     this.Id       = Guid.NewGuid();
     this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <BusinessFile>();
     this.AttachmentTimeUploaded = DateTime.Now;
 }
Exemplo n.º 8
0
        }                                          // 标签引用次数

        public ArticleCommentTag()
        {
            this.Id       = Guid.NewGuid();
            this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleCommentTag>();
        }