Some checks failed
		
		
	
	Build / build (push) Has been cancelled
				
			CodeQL / Analyze (go) (push) Has been cancelled
				
			build / Build (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
				
			Issue Close Require / issue-close-require (push) Has been cancelled
				
			Issue Check Inactive / issue-check-inactive (push) Has been cancelled
				
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			587 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			587 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package models
 | 
						|
 | 
						|
type SysPost struct {
 | 
						|
	PostId   int    `gorm:"primaryKey;autoIncrement" json:"postId"` //岗位编号
 | 
						|
	PostName string `gorm:"size:128;" json:"postName"`              //岗位名称
 | 
						|
	PostCode string `gorm:"size:128;" json:"postCode"`              //岗位代码
 | 
						|
	Sort     int    `gorm:"size:4;" json:"sort"`                    //岗位排序
 | 
						|
	Status   int    `gorm:"size:4;" json:"status"`                  //状态
 | 
						|
	Remark   string `gorm:"size:255;" json:"remark"`                //描述
 | 
						|
	ControlBy
 | 
						|
	ModelTime
 | 
						|
}
 | 
						|
 | 
						|
func (SysPost) TableName() string {
 | 
						|
	return "sys_post"
 | 
						|
} |