package models // HTTPDNSCustomRule 自定义解析规则 type HTTPDNSCustomRule struct { Id uint32 `field:"id"` // ID AppId uint32 `field:"appId"` // 应用DB ID DomainId uint32 `field:"domainId"` // 域名ID RuleName string `field:"ruleName"` // 规则名称 LineScope string `field:"lineScope"` // 线路范围 LineCarrier string `field:"lineCarrier"` // 运营商 LineRegion string `field:"lineRegion"` // 区域 LineProvince string `field:"lineProvince"` // 省份 LineContinent string `field:"lineContinent"` // 大洲 LineCountry string `field:"lineCountry"` // 国家 TTL int32 `field:"ttl"` // TTL IsOn bool `field:"isOn"` // 启用状态 Priority int32 `field:"priority"` // 优先级 UpdatedAt uint64 `field:"updatedAt"` // 修改时间 State uint8 `field:"state"` // 记录状态 } type HTTPDNSCustomRuleOperator struct { Id any // ID AppId any // 应用DB ID DomainId any // 域名ID RuleName any // 规则名称 LineScope any // 线路范围 LineCarrier any // 运营商 LineRegion any // 区域 LineProvince any // 省份 LineContinent any // 大洲 LineCountry any // 国家 TTL any // TTL IsOn any // 启用状态 Priority any // 优先级 UpdatedAt any // 修改时间 State any // 记录状态 } func NewHTTPDNSCustomRuleOperator() *HTTPDNSCustomRuleOperator { return &HTTPDNSCustomRuleOperator{} }