// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" ) const TableNamePatientFollowPlan = "patient_follow_plan" // PatientFollowPlan 患者随访计划表 type PatientFollowPlan struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键 PatientID int32 `gorm:"column:patient_id;not null;comment:患者ID" json:"patient_id"` // 患者ID PlanName string `gorm:"column:plan_name;not null;default:0;comment:计划名称" json:"plan_name"` // 计划名称 PlanDate time.Time `gorm:"column:plan_date;comment:计划时间" json:"plan_date"` // 计划时间 Status int32 `gorm:"column:status;not null;comment:完成状态(1:未完成 2:已完成)" json:"status"` // 完成状态(1:未完成 2:已完成) CreatedUser string `gorm:"column:created_user;not null;default:0;comment:创建人" json:"created_user"` // 创建人 CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"created_at"` // 创建时间 UpdatedUser string `gorm:"column:updated_user;not null;default:0;comment:更新人" json:"updated_user"` // 更新人 UpdatedAt time.Time `gorm:"column:updated_at;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"updated_at"` // 更新时间 } // TableName PatientFollowPlan's table name func (*PatientFollowPlan) TableName() string { return TableNamePatientFollowPlan }