feat(cmd/ry): add display model package

This commit is contained in:
2026-08-13 00:31:11 +08:00
parent d7a7af7cca
commit 16ccc8d339
4 changed files with 53 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package model
type Domain struct {
ID string `json:"id" table:"ID"`
Name string `json:"name" table:"DOMAIN"`
}
type DNSRecord struct {
ID string `json:"id" table:"ID"`
Type string `json:"type" table:"TYPE"`
Name string `json:"name" table:"NAME"`
Value string `json:"value" table:"VALUE"`
TTL int `json:"ttl" table:"TTL"`
}