面包店
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
413 B

  1. package model
  2. import (
  3. "time"
  4. )
  5. type AdmLog struct {
  6. Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
  7. AdmId int `json:"adm_id" xorm:"not null default 0 comment('管理员ID') INT(11)"`
  8. Ip string `json:"ip" xorm:"not null default '' comment('IP') VARCHAR(15)"`
  9. CreateAt time.Time `json:"create_at" xorm:"not null default CURRENT_TIMESTAMP comment('登陆时间') TIMESTAMP"`
  10. }