Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
7bcf67ce
Commit
7bcf67ce
authored
Mar 29, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7d354d87
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
286 additions
and
337 deletions
+286
-337
RB_Class.cs
Edu.Model/Entity/Grade/RB_Class.cs
+195
-195
TeacherStaticController.cs
Edu.WebApi/Controllers/User/TeacherStaticController.cs
+91
-142
No files found.
Edu.Model/Entity/Grade/RB_Class.cs
View file @
7bcf67ce
...
...
@@ -12,205 +12,206 @@ namespace Edu.Model.Entity.Grade
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Class
{
/// <summary>
/// 主键(班级ID)
/// </summary>
public
int
ClassId
{
get
;
set
;
}
/// <summary>
/// 主键(班级ID)
/// </summary>
public
int
ClassId
{
get
;
set
;
}
/// <summary>
/// 班级名称
/// </summary>
public
string
ClassName
{
get
;
set
;
}
/// <summary>
/// 班级名称
/// </summary>
public
string
ClassName
{
get
;
set
;
}
/// <summary>
/// 课程Id
/// </summary>
public
int
CouseId
{
get
;
set
;
}
/// <summary>
/// 课程Id
/// </summary>
public
int
CouseId
{
get
;
set
;
}
/// <summary>
/// 讲师Id
/// </summary>
public
int
Teacher_Id
{
get
;
set
;
}
/// <summary>
/// 讲师Id
/// </summary>
public
int
Teacher_Id
{
get
;
set
;
}
/// <summary>
/// 助教Id
/// </summary>
public
int
Assist_Id
{
get
;
set
;
}
/// <summary>
/// 助教Id
/// </summary>
public
int
Assist_Id
{
get
;
set
;
}
/// <summary>
/// 集团编号
/// </summary>
public
int
Group_Id
{
get
;
set
;
}
/// <summary>
/// 集团编号
/// </summary>
public
int
Group_Id
{
get
;
set
;
}
/// <summary>
/// 校区默认值
/// </summary>
private
int
defaultSId
=
-
1
;
/// <summary>
/// 学校编号
/// </summary>
public
int
School_Id
{
/// <summary>
/// 学校编号
/// </summary>
public
int
School_Id
{
get
{
return
defaultSId
;
}
set
{
defaultSId
=
value
;
}
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
/// <summary>
/// 删除状态(0-正常,1-禁用)
/// </summary>
public
DateStateEnum
Status
{
get
;
set
;
}
/// <summary>
/// 招生人数
/// </summary>
public
int
ClassPersion
{
get
;
set
;
}
/// <summary>
/// 开班时间
/// </summary>
public
DateTime
OpenTime
{
get
;
set
;
}
/// <summary>
/// 截止报名时间
/// </summary>
public
DateTime
?
EndOrderTime
{
get
;
set
;
}
/// <summary>
/// 原价
/// </summary>
public
decimal
OriginalPrice
{
get
;
set
;
}
/// <summary>
/// 售价
/// </summary>
public
decimal
SellPrice
{
get
;
set
;
}
/// <summary>
/// 是否阶梯价(1-是)
/// </summary>
public
int
IsStepPrice
{
get
;
set
;
}
/// <summary>
/// 教室编号
/// </summary>
public
int
ClassRoomId
{
get
;
set
;
}
/// <summary>
/// 是否开启提成设置(1-是)
/// </summary>
public
int
IsOpenCommission
{
get
;
set
;
}
/// <summary>
/// 提成类型(1-人头,2-百分比)
/// </summary>
public
int
CommissionType
{
get
;
set
;
}
/// <summary>
/// 提成值
/// </summary>
public
decimal
CommissionValue
{
get
;
set
;
}
/// <summary>
/// 课时
/// </summary>
public
int
ClassHours
{
get
;
set
;
}
/// <summary>
/// 排课方式(1-周,2-月,3-固定日期,4-约课)
/// </summary>
public
ClassStyleEnum
ClassStyle
{
get
;
set
;
}
/// <summary>
/// 班级状态
/// </summary>
public
ClassStatusEnum
ClassStatus
{
get
;
set
;
}
/// <summary>
/// 对内备注
/// </summary>
public
string
InnerRemark
{
get
;
set
;
}
/// <summary>
/// 对外备注
/// </summary>
public
string
OutRemark
{
get
;
set
;
}
/// <summary>
/// 完成进度
/// </summary>
public
int
CompleteProgress
{
get
;
set
;
}
/// <summary>
/// 班级类型(1-学生班,2-社会班)
/// </summary>
public
int
ClassType
{
get
;
set
;
}
/// <summary>
/// 默认时间字符串JSON
/// </summary>
public
string
DefaultTimeJson
{
get
;
set
;
}
/// <summary>
/// 默认选中的日期、周
/// </summary>
public
string
DateJson
{
get
;
set
;
}
/// <summary>
/// 结课日期
/// </summary>
public
DateTime
EndClassDate
{
get
;
set
;
}
/// <summary>
/// App是否可预约
/// </summary>
public
int
IsSubscribe
{
get
;
set
;
}
/// <summary>
/// 是否可抵扣
/// </summary>
public
int
IsDeduction
{
get
;
set
;
}
/// <summary>
/// 点数
/// </summary>
public
int
Point
{
get
;
set
;
}
/// <summary>
/// 分类类型
/// </summary>
public
CourseClassTypeEnum
?
CourseClassType
{
get
;
set
;
}
/// <summary>
/// 上课人数
/// </summary>
public
StudentNumTypeEnum
?
StudentNumType
{
get
;
set
;
}
/// <summary>
/// 课时分钟数
/// </summary>
public
int
ClassHourMinute
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
/// <summary>
/// 删除状态(0-正常,1-禁用)
/// </summary>
public
DateStateEnum
Status
{
get
;
set
;
}
/// <summary>
/// 招生人数
/// </summary>
public
int
ClassPersion
{
get
;
set
;
}
/// <summary>
/// 开班时间
/// </summary>
public
DateTime
OpenTime
{
get
;
set
;
}
/// <summary>
/// 截止报名时间
/// </summary>
public
DateTime
?
EndOrderTime
{
get
;
set
;
}
/// <summary>
/// 原价
/// </summary>
public
decimal
OriginalPrice
{
get
;
set
;
}
/// <summary>
/// 售价
/// </summary>
public
decimal
SellPrice
{
get
;
set
;
}
/// <summary>
/// 是否阶梯价(1-是)
/// </summary>
public
int
IsStepPrice
{
get
;
set
;
}
/// <summary>
/// 教室编号
/// </summary>
public
int
ClassRoomId
{
get
;
set
;
}
/// <summary>
/// 是否开启提成设置(1-是)
/// </summary>
public
int
IsOpenCommission
{
get
;
set
;
}
/// <summary>
/// 提成类型(1-人头,2-百分比)
/// </summary>
public
int
CommissionType
{
get
;
set
;
}
/// <summary>
/// 提成值
/// </summary>
public
decimal
CommissionValue
{
get
;
set
;
}
/// <summary>
/// 课时
/// </summary>
public
int
ClassHours
{
get
;
set
;
}
/// <summary>
/// 排课方式(1-周,2-月,3-固定日期,4-约课)
/// </summary>
public
ClassStyleEnum
ClassStyle
{
get
;
set
;
}
/// <summary>
/// 班级状态
/// </summary>
public
ClassStatusEnum
ClassStatus
{
get
;
set
;
}
/// <summary>
/// 对内备注
/// </summary>
public
string
InnerRemark
{
get
;
set
;
}
/// <summary>
/// 对外备注
/// </summary>
public
string
OutRemark
{
get
;
set
;
}
/// <summary>
/// 完成进度
/// </summary>
public
int
CompleteProgress
{
get
;
set
;
}
/// <summary>
/// 班级类型(1-学生班,2-社会班)
/// </summary>
public
int
ClassType
{
get
;
set
;
}
/// <summary>
/// 默认时间字符串JSON
/// </summary>
public
string
DefaultTimeJson
{
get
;
set
;
}
/// <summary>
/// 默认选中的日期、周
/// </summary>
public
string
DateJson
{
get
;
set
;
}
/// <summary>
/// 结课日期
/// </summary>
public
DateTime
EndClassDate
{
get
;
set
;
}
/// <summary>
/// App是否可预约
/// </summary>
public
int
IsSubscribe
{
get
;
set
;
}
/// <summary>
/// 是否可抵扣
/// </summary>
public
int
IsDeduction
{
get
;
set
;
}
/// <summary>
/// 点数
/// </summary>
public
int
Point
{
get
;
set
;
}
/// <summary>
/// 分类类型
/// </summary>
public
CourseClassTypeEnum
?
CourseClassType
{
get
;
set
;
}
/// <summary>
/// 上课人数
/// </summary>
public
StudentNumTypeEnum
?
StudentNumType
{
get
;
set
;
}
/// <summary>
/// 课时分钟数
/// </summary>
public
int
ClassHourMinute
{
get
;
set
;
}
/// <summary>
/// 班级编号
...
...
@@ -222,17 +223,16 @@ namespace Edu.Model.Entity.Grade
/// </summary>
public
int
ClassLetterNum
{
get
;
set
;
}
private
int
scrollType
=
1
;
//默认正常班
private
int
scrollType
=
1
;
//默认正常班
/// <summary>
/// 开班类型 1正常班 2滚动班
/// </summary>
public
int
ClassScrollType
{
get
=>
scrollType
;
set
=>
scrollType
=
value
;
}
/// <summary>
/// 滚动开班月份
/// </summary>
public
string
ScrollMonth
{
get
;
set
;
}
/// <summary>
/// 开班类型 1正常班 2滚动班
/// </summary>
public
int
ClassScrollType
{
get
=>
scrollType
;
set
=>
scrollType
=
value
;
}
}
/// <summary>
/// 滚动开班月份
/// </summary>
public
string
ScrollMonth
{
get
;
set
;
}
}
}
Edu.WebApi/Controllers/User/TeacherStaticController.cs
View file @
7bcf67ce
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment