# Coverage Summary for Class: User (cn.edu.ecnu.stu.bookstore.pojo)

Class | Class, % | Method, % | Line, %
--- | --- | --- | ---
User | 100% (1/1) | 100% (7/7) | 100% (8/8)

     package cn.edu.ecnu.stu.bookstore.pojo;

     import com.alibaba.fastjson.annotation.JSONField;
     import com.fasterxml.jackson.annotation.JsonIgnore;
     import com.fasterxml.jackson.annotation.JsonProperty;
     import lombok.AllArgsConstructor;
     import lombok.Builder;
     import lombok.Data;
     import lombok.NoArgsConstructor;

     import java.math.BigDecimal;

     @NoArgsConstructor
     @Data
     public class User {

         private Integer id;

         private String username;

         @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
         private String password;

         private BigDecimal balance = BigDecimal.ZERO;

         private String phone;

         private String address;
     }