package model import ( "time" ) type Template struct { ID string `bson:"_id,omitempty" json:"id"` UserID string `bson:"user_id" json:"user_id"` LeadId string `bson:"lead_id" json:"lead_id"` Name string `bson:"name" json:"name"` // Название сделки, к которому привязан файл-шаблон Filename string `bson:"filename" json:"filename"` // Имя файла-шаблона Storage string `bson:"storage" json:"storage"` FileID string `bson:"file_id" json:"file_id"` // File id for Google Drive IsDeleted bool `bson:"is_deleted" json:"is_deleted"` CreatedAt time.Time `bson:"created_at" json:"created_at"` UpdatedAt time.Time `bson:"updated_at" json:"updated_at"` }