/// <summary>
        ///  创建退还班级记录
        /// </summary>
        /// <param name="releaseRecordId"></param>
        /// <param name="classId"></param>
        /// <returns></returns>
        public static StudentReleaseRecord CreateClassDropReleaseRecord(Guid releaseRecordId,Guid classId)
        {
            var stuRel = new StudentReleaseRecord()
               {
               ID=releaseRecordId,
               Class_Id = classId
               };

               return stuRel;
        }
        /// <summary>
        /// 创建发放记录
        /// </summary>
        /// <param name="releaseRecordId"></param>
        /// <param name="stockRecordId"></param>
        /// <param name="textbookId"></param>
        /// <param name="booksellerId"></param>
        /// <param name="schoolId"></param>
        /// <param name="releaseCount"></param>
        /// <param name="studentId"></param>
        /// <param name="classId"></param>
        /// <param name="student"></param>
        /// <returns></returns>
        public static StudentReleaseRecord CreateReleaseRecord(Guid releaseRecordId,Guid stockRecordId,Guid textbookId,Guid booksellerId,Guid schoolId,int releaseCount,Guid studentId,Guid classId,Student student)
        {
            var releaseRecord = new StudentReleaseRecord
               {
                   ID = releaseRecordId,
                   StockRecord_Id = stockRecordId,
                   Textbook_Id = textbookId,
                   Bookseller_Id = booksellerId,
                   School_Id = schoolId,
                   Class_Id = classId,
                   ReleaseCount = releaseCount,
                   Student_Id = studentId,
                   Student = student
               };

               return releaseRecord;
        }
        /// <summary>
        ///  创建退还学生记录
        /// </summary>
        /// <param name="releaseRecordId"></param>
        /// <param name="studentId"></param>
        /// <returns></returns>
        public static StudentReleaseRecord CreateStudentDropReleaseRecord(Guid releaseRecordId, Guid studentId)
        {
            var stuRel = new StudentReleaseRecord()
               {
               ID = releaseRecordId,
               Student_Id = studentId
               };

               return stuRel;
        }