12 lines
208 B
Smarty
12 lines
208 B
Smarty
package model
|
|
|
|
var {{.CamelTable}}UpdateExcludeColumns = []Column{
|
|
{{- if .HasCreatedAt}}
|
|
table.{{.PascalTable}}.CreatedAt,
|
|
{{- end}}
|
|
|
|
{{- if .SoftDelete}}
|
|
table.{{.PascalTable}}.DeletedAt,
|
|
{{- end}}
|
|
}
|