// Package entity 实体层
package entity

import "time"

// YxHistoryMajorEnroll 历年艺术类招生录取分数表实体
type YxHistoryMajorEnroll 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"`
	InstitutionCode          string    `gorm:"column:institution_code" json:"institutionCode"`
	MajorCode                string    `gorm:"column:major_code" json:"majorCode"`
	MajorName                string    `gorm:"column:major_name" json:"majorName"`
	MajorType                string    `gorm:"column:major_type" json:"majorType"`
	EnrollmentCode           string    `gorm:"column:enrollment_code" json:"enrollmentCode"`
	Category                 string    `gorm:"column:category" json:"category"`
	Year                     string    `gorm:"column:year" json:"year"`
	EnrollNum                int       `gorm:"column:enroll_num" json:"enrollNum"`
	ScoreLineDifference      float64   `gorm:"column:score_line_difference" json:"scoreLineDifference"`
	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"`
	SysOrgCode               string    `gorm:"column:sys_org_code" json:"sysOrgCode"`
	Detail                   string    `gorm:"column:detail" json:"detail"`
	RulesEnrollProbability   string    `gorm:"column:rules_enroll_probability" json:"rulesEnrollProbability"`
	ControlLine              float64   `gorm:"column:control_line" json:"controlLine"`
	AdmissionLine            float64   `gorm:"column:admission_line" json:"admissionLine"`
	ProbabilityOperator      string    `gorm:"column:probability_operator" json:"probabilityOperator"`
	Batch                    string    `gorm:"column:batch" json:"batch"`
	OneVolunteerAdmissionNum int       `gorm:"column:one_volunteer_admission_num" json:"oneVolunteerAdmissionNum"`
	AdmissionNum             int       `gorm:"column:admission_num" json:"admissionNum"`
	ActualPitcherNum         int       `gorm:"column:actual_pitcher_num" json:"actualPitcherNum"`
	CheckMaster              string    `gorm:"column:check_master" json:"checkMaster"`
	MajorTypeChild           string    `gorm:"column:major_type_child" json:"majorTypeChild"`
	MainSubjects             string    `gorm:"column:main_subjects" json:"mainSubjects"`
	Tuition                  string    `gorm:"column:tuition" json:"tuition"`
}

func (YxHistoryMajorEnroll) TableName() string {
	return "yx_history_major_enroll"
}
