// 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 const TableNameRedeemMall = "redeem_mall" // RedeemMall mapped from table type RedeemMall struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` IsDel int8 `gorm:"column:is_del;type:tinyint;not null;comment:是否删除(0-否,1-是)" json:"is_del"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id,priority:1;comment:项目id(project表)" json:"project_id"` Title string `gorm:"column:title;type:varchar(255);not null;comment:积分标题" json:"title"` Status int8 `gorm:"column:status;type:tinyint;not null;comment:状态(1-暂未使用,2-使用中)" json:"status"` } // TableName RedeemMall's table name func (*RedeemMall) TableName() string { return TableNameRedeemMall }