##### Coverage Report - com.ctrip.framework.apollo.biz.entity.NamespaceLock

Classes in this File | Line Coverage | Branch Coverage | Complexity
NamespaceLock |
25% | 1/4
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.framework.apollo.biz.entity;
2 |  |
3 |  |
     import com.ctrip.framework.apollo.common.entity.BaseEntity;
4 |  |
5 |  |
     import org.hibernate.annotations.Where;
6 |  |
7 |  |
     import javax.persistence.Column;
8 |  |
     import javax.persistence.Entity;
9 |  |
     import javax.persistence.Table;
10 |  |
11 |  |
     @Entity
12 |  |
     @Table(name = "NamespaceLock")
13 |  |
     @Where(clause = "isDeleted = 0")
14 | 1 |
     public class NamespaceLock extends BaseEntity{
15 |  |
16 |  |
       @Column(name = "NamespaceId")
17 |  |
       private long namespaceId;
18 |  |
19 |  |
       public long getNamespaceId() {
20 | 0 |
         return namespaceId;
21 |  |
       }
22 |  |
23 |  |
       public void setNamespaceId(long namespaceId) {
24 | 0 |
         this.namespaceId = namespaceId;
25 | 0 |
       }
26 |  |
     }