38 lines
2.9 KiB
Go
38 lines
2.9 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/encoding/gjson"
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// ImMessageCurfewRules is the golang structure for table im_message_curfew_rules.
|
|
type ImMessageCurfewRules struct {
|
|
Id int64 `json:"id" orm:"id" description:""`
|
|
TenantId int64 `json:"tenantId" orm:"tenant_id" description:""`
|
|
PolicyId int64 `json:"policyId" orm:"policy_id" description:""`
|
|
RuleCode string `json:"ruleCode" orm:"rule_code" description:""`
|
|
RuleName string `json:"ruleName" orm:"rule_name" description:""`
|
|
DateType string `json:"dateType" orm:"date_type" description:"daily, weekday, weekend, custom"`
|
|
CustomDates *gjson.Json `json:"customDates" orm:"custom_dates" description:"YYYY-MM-DD values for custom date type"`
|
|
Weekdays *gjson.Json `json:"weekdays" orm:"weekdays" description:"ISO weekdays 1 through 7"`
|
|
Timezone string `json:"timezone" orm:"timezone" description:""`
|
|
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:""`
|
|
EndTime *gtime.Time `json:"endTime" orm:"end_time" description:"Less than start_time means crossing midnight"`
|
|
Scope string `json:"scope" orm:"scope" description:"private_message or group_message"`
|
|
WhitelistUserIds *gjson.Json `json:"whitelistUserIds" orm:"whitelist_user_ids" description:""`
|
|
WhitelistGroupIds *gjson.Json `json:"whitelistGroupIds" orm:"whitelist_group_ids" description:""`
|
|
Message string `json:"message" orm:"message" description:""`
|
|
Status int `json:"status" orm:"status" description:"1 enabled, 2 disabled"`
|
|
Sort int `json:"sort" orm:"sort" description:""`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
|
CreatedBy int64 `json:"createdBy" orm:"created_by" description:""`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
|
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:""`
|
|
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""`
|
|
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:""`
|
|
}
|