micro-document/internel/model/committeeAppointments.go
2025-09-28 13:48:40 +08:00

26 lines
1.3 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
import (
"time"
"gorm.io/gorm"
)
type CommitteeAppointments struct {
Id int32 `gorm:"primarykey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;index:idx_committee_appointments_deleted_at;"`
Uuid string `gorm:"column:uuid;type:varchar(256);not null;default:'';comment:uuid"`
Name string `gorm:"column:name;type:varchar(30);not null;default:'';comment:姓名"`
Status int32 `gorm:"column:status;type:int;not null;default:2;comment:状态:1上架 2 下架"`
AuditCommittee int32 `gorm:"column:audit_committee;type:int;not null;default:0;comment:审计委员会1Member 2Chair"`
CompensationCommittee int32 `gorm:"column:compensation_committee;type:int;not null;default:0;comment:薪酬委员会1Member 2Chair"`
NominatingCommittee int32 `gorm:"column:nominating_committee;type:int;not null;default:0;comment:提名委员会1Member 2Chair"`
IsSetting int32 `gorm:"column:is_setting;type:int;not null;default:0;comment:是否设置:0 否 1 是"`
}
func (*CommitteeAppointments) TableName() string {
return "committee_appointments"
}