| | |
| | | import java.util.HashSet; |
| | | import java.util.Set; |
| | | |
| | | import javax.persistence.Basic; |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.EntityManager; |
| | | import javax.persistence.EnumType; |
| | | import javax.persistence.Enumerated; |
| | | import javax.persistence.GeneratedValue; |
| | | import javax.persistence.GenerationType; |
| | | import javax.persistence.Id; |
| | |
| | | @Column(name = "shares_signed", columnDefinition = "integer") |
| | | private int sharesSigned; |
| | | |
| | | @Column(name = "free", nullable = false) |
| | | private boolean free = false; |
| | | |
| | | @Column(name = "indicator_vat", nullable = false) |
| | | @Basic |
| | | @Enumerated(EnumType.STRING) |
| | | private IndicatorVAT indicatorVAT = IndicatorVAT.GROSS; |
| | | |
| | | @Column(name = "uid_vat", columnDefinition = "character varying(20)", nullable = true) |
| | | private String uidVAT; |
| | | |
| | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | | |
| | | public boolean isFree() { |
| | | return free; |
| | | } |
| | | |
| | | public void setFree(boolean free) { |
| | | this.free = free; |
| | | } |
| | | |
| | | public IndicatorVAT getIndicatorVAT() { |
| | | return indicatorVAT; |
| | | } |
| | | |
| | | public void setIndicatorVAT(IndicatorVAT indicatorVAT) { |
| | | this.indicatorVAT = indicatorVAT; |
| | | } |
| | | } |