// Package entity 实体层
package entity

import "time"

// YxSchoolMajor 院校专业关联表实体
type YxSchoolMajor struct {
	ID                            string    `gorm:"column:id;primaryKey" json:"id"`
	SchoolCode                    string    `gorm:"column:school_code" json:"schoolCode"`
	SchoolName                    string    `gorm:"column:school_name" json:"schoolName"`
	MajorCode                     string    `gorm:"column:major_code" json:"majorCode"`
	MajorName                     string    `gorm:"column:major_name" json:"majorName"`
	MajorType                     string    `gorm:"column:major_type" json:"majorType"`
	MajorTypeChild                string    `gorm:"column:major_type_child" json:"majorTypeChild"`
	MainSubjects                  string    `gorm:"column:main_subjects" json:"mainSubjects"`
	EnrollmentCode                string    `gorm:"column:enrollment_code" json:"enrollmentCode"`
	Category                      string    `gorm:"column:category" json:"category"`
	Batch                         string    `gorm:"column:batch" json:"batch"`
	Tuition                       string    `gorm:"column:tuition" json:"tuition"`
	PlanNum                       int       `gorm:"column:plan_num" json:"planNum"`
	Detail                        string    `gorm:"column:detail" json:"detail"`
	Semester                      string    `gorm:"column:semester" json:"semester"`
	CreateBy                      string    `gorm:"column:create_by" json:"createBy"`
	CreateTime                    time.Time `gorm:"column:create_time" json:"createTime"`
	UpdateBy                      string    `gorm:"column:update_by" json:"updateBy"`
	UpdateTime                    time.Time `gorm:"column:update_time" json:"updateTime"`
	RulesEnrollProbabilitySx      string    `gorm:"column:rules_enroll_probability_sx" json:"rulesEnrollProbabilitySx"`
	RulesEnrollProbability        string    `gorm:"column:rules_enroll_probability" json:"rulesEnrollProbability"`
	ProbabilityOperator           string    `gorm:"column:probability_operator" json:"probabilityOperator"`
	CulturalControlLine           float64   `gorm:"column:cultural_control_line" json:"culturalControlLine"`
	SpecialControlLine            float64   `gorm:"column:special_control_line" json:"specialControlLine"`
	CheckMaster                   string    `gorm:"column:check_master" json:"checkMaster"`
	Limitation                    string    `gorm:"column:limitation" json:"limitation"`
	ProfessionalScoreLimitation   float64   `gorm:"column:professional_score_limitation" json:"professionalScoreLimitation"`
	EnglishScoreLimitation        float64   `gorm:"column:english_score_limitation" json:"englishScoreLimitation"`
	ChineseScoreLimitation        float64   `gorm:"column:chinese_score_limitation" json:"chineseScoreLimitation"`
	CulturalScoreLimitation       float64   `gorm:"column:cultural_score_limitation" json:"culturalScoreLimitation"`
	Kslx                          string    `gorm:"column:kslx" json:"kslx"`
	PrivateProbabilityOperator    string    `gorm:"column:private_probability_operator" json:"privateProbabilityOperator"`
	PrivateRulesEnrollProbability string    `gorm:"column:private_rules_enroll_probability" json:"privateRulesEnrollProbability"`
	State                         string    `gorm:"column:state" json:"state"`
}

func (YxSchoolMajor) TableName() string {
	return "yx_school_major"
}
