pc_code.go 577 B

123456789101112131415161718
  1. package newCentralControl
  2. import "log-server/model/typeManage"
  3. type PcInfo struct {
  4. Id int `json:"id"`
  5. PcCode string `json:"pc_code"` //租机编号
  6. PcName string `json:"pc_name"` //租机名称
  7. User string `json:"user"` //负责人
  8. //Status int `json:"status"` //status:-1停止 ,1运行
  9. CreateTime typeManage.LocalTime `json:"create_time"`
  10. UpdateTime typeManage.LocalTime `json:"update_time"`
  11. }
  12. func (PcInfo) TableName() string {
  13. return "pc_info"
  14. }