You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

base_model.go 579 B

1234567891011121314
  1. package base
  2. import (
  3. "gorm.io/gorm"
  4. "time"
  5. )
  6. type BaseModel struct {
  7. DeletedAt gorm.DeletedAt `gorm:"index;comment:删除时间" json:"-"` // 删除时间
  8. CreatedBy uint `gorm:"created_by;comment:创建人" json:"createdBy"` //创建人
  9. CreateTime time.Time `gorm:"autoCreateTime:nano;comment:创建时间" json:"-"` // 创建时间
  10. UpdatedBy uint `gorm:"updated_by;comment:更新人" json:"UpdatedBy"` //创建人
  11. UpdateTime time.Time `gorm:"autoUpdateTime:nano;;comment:更新时间" json:"-"` // 更新时间
  12. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.