|
31 | 31 | import com.cloud.hypervisor.Hypervisor.HypervisorType; |
32 | 32 | import com.cloud.network.Network.GuestType; |
33 | 33 | import com.cloud.network.Networks.TrafficType; |
| 34 | +import com.cloud.server.ResourceTag.ResourceObjectType; |
34 | 35 | import com.cloud.storage.Storage.StoragePoolType; |
35 | 36 | import com.cloud.storage.Volume; |
36 | 37 | import com.cloud.utils.db.GenericDao; |
@@ -345,6 +346,34 @@ public class UserVmJoinVO extends BaseViewVO implements ControlledViewEntity { |
345 | 346 | @Column(name = "tag_id") |
346 | 347 | private long tagId; |
347 | 348 |
|
| 349 | + @Column(name = "tag_uuid") |
| 350 | + private String tagUuid; |
| 351 | + |
| 352 | + @Column(name = "tag_key") |
| 353 | + private String tagKey; |
| 354 | + |
| 355 | + @Column(name = "tag_value") |
| 356 | + private String tagValue; |
| 357 | + |
| 358 | + @Column(name = "tag_domain_id") |
| 359 | + private long tagDomainId; |
| 360 | + |
| 361 | + @Column(name = "tag_account_id") |
| 362 | + private long tagAccountId; |
| 363 | + |
| 364 | + @Column(name = "tag_resource_id") |
| 365 | + private long tagResourceId; |
| 366 | + |
| 367 | + @Column(name = "tag_resource_uuid") |
| 368 | + private String tagResourceUuid; |
| 369 | + |
| 370 | + @Column(name = "tag_resource_type") |
| 371 | + @Enumerated(value = EnumType.STRING) |
| 372 | + private ResourceObjectType tagResourceType; |
| 373 | + |
| 374 | + @Column(name = "tag_customer") |
| 375 | + private String tagCustomer; |
| 376 | + |
348 | 377 | @Column(name = "affinity_group_id") |
349 | 378 | private long affinityGroupId; |
350 | 379 |
|
@@ -746,6 +775,42 @@ public long getTagId() { |
746 | 775 | return tagId; |
747 | 776 | } |
748 | 777 |
|
| 778 | + public String getTagUuid() { |
| 779 | + return tagUuid; |
| 780 | + } |
| 781 | + |
| 782 | + public String getTagKey() { |
| 783 | + return tagKey; |
| 784 | + } |
| 785 | + |
| 786 | + public String getTagValue() { |
| 787 | + return tagValue; |
| 788 | + } |
| 789 | + |
| 790 | + public long getTagDomainId() { |
| 791 | + return tagDomainId; |
| 792 | + } |
| 793 | + |
| 794 | + public long getTagAccountId() { |
| 795 | + return tagAccountId; |
| 796 | + } |
| 797 | + |
| 798 | + public long getTagResourceId() { |
| 799 | + return tagResourceId; |
| 800 | + } |
| 801 | + |
| 802 | + public String getTagResourceUuid() { |
| 803 | + return tagResourceUuid; |
| 804 | + } |
| 805 | + |
| 806 | + public ResourceObjectType getTagResourceType() { |
| 807 | + return tagResourceType; |
| 808 | + } |
| 809 | + |
| 810 | + public String getTagCustomer() { |
| 811 | + return tagCustomer; |
| 812 | + } |
| 813 | + |
749 | 814 | public boolean isLimitCpuUse() { |
750 | 815 | return limitCpuUse; |
751 | 816 | } |
|
0 commit comments