2025-02-17 15:32:01 +00:00
|
|
|
package entity
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type ArticleApprovals struct {
|
|
|
|
|
ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
|
|
|
|
|
ArticleId uint `json:"article_id" gorm:"type:int4"`
|
|
|
|
|
ApprovalBy uint `json:"approval_by" gorm:"type:int4"`
|
|
|
|
|
StatusId int `json:"status_id" gorm:"type:int4"`
|
|
|
|
|
Message string `json:"message" gorm:"type:varchar"`
|
2025-02-17 22:15:57 +00:00
|
|
|
ApprovalAtLevel *int `json:"approval_at_level" gorm:"type:int4"`
|
2025-02-17 15:32:01 +00:00
|
|
|
CreatedAt time.Time `json:"created_at" gorm:"default:now()"`
|
|
|
|
|
}
|