Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Source code recreated from a .class file by IntelliJ IDEA
- // (powered by Fernflower decompiler)
- //
- package hu.tracon.common.model.entity;
- import java.io.Serializable;
- import java.util.Date;
- import java.util.HashSet;
- import java.util.Set;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.FetchType;
- import javax.persistence.Id;
- import javax.persistence.JoinColumn;
- import javax.persistence.ManyToOne;
- import javax.persistence.OneToMany;
- import javax.persistence.OneToOne;
- import javax.persistence.Table;
- import javax.persistence.Temporal;
- import javax.persistence.TemporalType;
- @Entity
- @Table(
- name = "CUSTOMER"
- )
- public class Customer implements Serializable {
- private static final long serialVersionUID = 1L;
- private String customerId;
- private CustomerAddress customerAddressByDefaultInvoiceIssuerAddress;
- private Account account;
- private CustomerAddress customerAddressByDefaultPostAddress;
- private ApplicationSession applicationSessionByXInssession;
- private MobileLanguage mobileLanguage;
- private ApplicationSession applicationSessionByXModsession;
- private Users usersByXInsuser;
- private CustomerAddress customerAddressByDefaultBillingAddress;
- private CustomerUser customerUser;
- private Users usersByXModuser;
- private String customerNamePrefix;
- private String customerName;
- private String phoneNumber;
- private char corporation;
- private String email;
- private char XState;
- private Date XModdate;
- private Date XInsdate;
- private String XComment;
- private String businessPartnerType;
- private String passwordHash;
- private String idOrRegnum;
- private char validated;
- private char otpLogin;
- private String mothersName;
- private String birthName;
- private String birthPlace;
- private Date birthDate;
- private String bankAccountNumber;
- private Set<TradeCard> tradeCardsForCustomer = new HashSet(0);
- private Set<CustomerAddress> customerAddresses = new HashSet(0);
- private Set<CustomerLetter> customerLetters = new HashSet(0);
- private ServiceDealer serviceDealer;
- private Set<TargetLocationParams> targetLocationParamses = new HashSet(0);
- private Set<TradeCard> tradeCardsForCarrier = new HashSet(0);
- private Set<DataExchangePackage> dataExchangePackages = new HashSet(0);
- private ServiceOwner serviceOwner;
- private BusinessPartner businessPartner;
- private Set<ComputerCustomer> computerCustomers = new HashSet(0);
- private Set<AccountLetter> accountLetters = new HashSet(0);
- private Set<Account> accounts = new HashSet(0);
- private Set<CustomerBankAccount> customerBankAccounts = new HashSet(0);
- private Set<CustomerComplaint> customerComplaints = new HashSet(0);
- private Set<IncomingAccountRequest> incomingAccountRequests = new HashSet(0);
- private Set<CustomerUserRelation> customerUserRelations = new HashSet(0);
- private ServiceOperator serviceOperator;
- private Set<OutputJob> outputJobs = new HashSet(0);
- private String vatNumber;
- private String taxIdentificationNumber;
- private String enableSimpleTradeCard;
- private Character isClassifiedTaxpayer;
- private char isStatementEnabled;
- private Character enablePredecessor;
- private Date hibernationStart;
- private Date hibernationEnd;
- public Customer() {
- }
- @Id
- @Column(
- name = "CUSTOMER_ID",
- unique = true,
- nullable = false,
- length = 15
- )
- public String getCustomerId() {
- return this.customerId;
- }
- public void setCustomerId(String customerId) {
- this.customerId = customerId;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "DEFAULT_INVOICE_ISSUER_ADDRESS"
- )
- public CustomerAddress getCustomerAddressByDefaultInvoiceIssuerAddress() {
- return this.customerAddressByDefaultInvoiceIssuerAddress;
- }
- public void setCustomerAddressByDefaultInvoiceIssuerAddress(CustomerAddress customerAddressByDefaultInvoiceIssuerAddress) {
- this.customerAddressByDefaultInvoiceIssuerAddress = customerAddressByDefaultInvoiceIssuerAddress;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "OTP_ACCOUNT"
- )
- public Account getAccount() {
- return this.account;
- }
- public void setAccount(Account account) {
- this.account = account;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "DEFAULT_POST_ADDRESS"
- )
- public CustomerAddress getCustomerAddressByDefaultPostAddress() {
- return this.customerAddressByDefaultPostAddress;
- }
- public void setCustomerAddressByDefaultPostAddress(CustomerAddress customerAddressByDefaultPostAddress) {
- this.customerAddressByDefaultPostAddress = customerAddressByDefaultPostAddress;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "X__INSSESSION"
- )
- public ApplicationSession getApplicationSessionByXInssession() {
- return this.applicationSessionByXInssession;
- }
- public void setApplicationSessionByXInssession(ApplicationSession applicationSessionByXInssession) {
- this.applicationSessionByXInssession = applicationSessionByXInssession;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "LANGUAGE",
- nullable = false
- )
- public MobileLanguage getMobileLanguage() {
- return this.mobileLanguage;
- }
- public void setMobileLanguage(MobileLanguage mobileLanguage) {
- this.mobileLanguage = mobileLanguage;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "X__MODSESSION"
- )
- public ApplicationSession getApplicationSessionByXModsession() {
- return this.applicationSessionByXModsession;
- }
- public void setApplicationSessionByXModsession(ApplicationSession applicationSessionByXModsession) {
- this.applicationSessionByXModsession = applicationSessionByXModsession;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "X__INSUSER",
- nullable = false
- )
- public Users getUsersByXInsuser() {
- return this.usersByXInsuser;
- }
- public void setUsersByXInsuser(Users usersByXInsuser) {
- this.usersByXInsuser = usersByXInsuser;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "DEFAULT_BILLING_ADDRESS"
- )
- public CustomerAddress getCustomerAddressByDefaultBillingAddress() {
- return this.customerAddressByDefaultBillingAddress;
- }
- public void setCustomerAddressByDefaultBillingAddress(CustomerAddress customerAddressByDefaultBillingAddress) {
- this.customerAddressByDefaultBillingAddress = customerAddressByDefaultBillingAddress;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "DEFAULT_CONTACT"
- )
- public CustomerUser getCustomerUser() {
- return this.customerUser;
- }
- public void setCustomerUser(CustomerUser customerUser) {
- this.customerUser = customerUser;
- }
- @ManyToOne(
- fetch = FetchType.LAZY
- )
- @JoinColumn(
- name = "X__MODUSER",
- nullable = false
- )
- public Users getUsersByXModuser() {
- return this.usersByXModuser;
- }
- public void setUsersByXModuser(Users usersByXModuser) {
- this.usersByXModuser = usersByXModuser;
- }
- @Column(
- name = "CUSTOMER_NAME_PREFIX",
- length = 7
- )
- public String getCustomerNamePrefix() {
- return this.customerNamePrefix;
- }
- public void setCustomerNamePrefix(String customerNamePrefix) {
- this.customerNamePrefix = customerNamePrefix;
- }
- @Column(
- name = "CUSTOMER_NAME",
- nullable = false,
- length = 150
- )
- public String getCustomerName() {
- return this.customerName;
- }
- public void setCustomerName(String customerName) {
- this.customerName = customerName;
- }
- @Column(
- name = "PHONE_NUMBER",
- length = 15
- )
- public String getPhoneNumber() {
- return this.phoneNumber;
- }
- public void setPhoneNumber(String phoneNumber) {
- this.phoneNumber = phoneNumber;
- }
- @Column(
- name = "CORPORATION",
- nullable = false,
- length = 1
- )
- public char getCorporation() {
- return this.corporation;
- }
- public void setCorporation(char corporation) {
- this.corporation = corporation;
- }
- @Column(
- name = "EMAIL",
- length = 128
- )
- public String getEmail() {
- return this.email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- @Column(
- name = "X__STATE",
- nullable = false,
- length = 1
- )
- public char getXState() {
- return this.XState;
- }
- public void setXState(char XState) {
- this.XState = XState;
- }
- @Temporal(TemporalType.TIMESTAMP)
- @Column(
- name = "X__MODDATE",
- nullable = false,
- length = 7
- )
- public Date getXModdate() {
- return this.XModdate;
- }
- public void setXModdate(Date XModdate) {
- this.XModdate = XModdate;
- }
- @Temporal(TemporalType.TIMESTAMP)
- @Column(
- name = "X__INSDATE",
- nullable = false,
- length = 7
- )
- public Date getXInsdate() {
- return this.XInsdate;
- }
- public void setXInsdate(Date XInsdate) {
- this.XInsdate = XInsdate;
- }
- @Column(
- name = "X__COMMENT"
- )
- public String getXComment() {
- return this.XComment;
- }
- public void setXComment(String XComment) {
- this.XComment = XComment;
- }
- @Column(
- name = "BUSINESS_PARTNER_TYPE",
- nullable = false,
- length = 15
- )
- public String getBusinessPartnerType() {
- return this.businessPartnerType;
- }
- public void setBusinessPartnerType(String businessPartnerType) {
- this.businessPartnerType = businessPartnerType;
- }
- @Column(
- name = "PASSWORD_HASH",
- length = 40
- )
- public String getPasswordHash() {
- return this.passwordHash;
- }
- public void setPasswordHash(String passwordHash) {
- this.passwordHash = passwordHash;
- }
- @Column(
- name = "ID_OR_REGNUM",
- length = 20
- )
- public String getIdOrRegnum() {
- return this.idOrRegnum;
- }
- public void setIdOrRegnum(String idOrRegnum) {
- this.idOrRegnum = idOrRegnum;
- }
- @Column(
- name = "VALIDATED",
- nullable = false,
- length = 1
- )
- public char getValidated() {
- return this.validated;
- }
- public void setValidated(char validated) {
- this.validated = validated;
- }
- @Column(
- name = "OTP_LOGIN",
- nullable = false,
- length = 1
- )
- public char getOtpLogin() {
- return this.otpLogin;
- }
- public void setOtpLogin(char otpLogin) {
- this.otpLogin = otpLogin;
- }
- @Column(
- name = "MOTHERS_NAME",
- length = 150
- )
- public String getMothersName() {
- return this.mothersName;
- }
- public void setMothersName(String mothersName) {
- this.mothersName = mothersName;
- }
- @Column(
- name = "BIRTH_NAME",
- length = 150
- )
- public String getBirthName() {
- return this.birthName;
- }
- public void setBirthName(String birthName) {
- this.birthName = birthName;
- }
- @Column(
- name = "BIRTH_PLACE",
- length = 50
- )
- public String getBirthPlace() {
- return this.birthPlace;
- }
- public void setBirthPlace(String birthPlace) {
- this.birthPlace = birthPlace;
- }
- @Temporal(TemporalType.TIMESTAMP)
- @Column(
- name = "BIRTH_DATE",
- length = 7
- )
- public Date getBirthDate() {
- return this.birthDate;
- }
- public void setBirthDate(Date birthDate) {
- this.birthDate = birthDate;
- }
- @Column(
- name = "BANK_ACCOUNT_NUMBER",
- length = 40
- )
- public String getBankAccountNumber() {
- return this.bankAccountNumber;
- }
- public void setBankAccountNumber(String bankAccountNumber) {
- this.bankAccountNumber = bankAccountNumber;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customerByCustomer"
- )
- public Set<TradeCard> getTradeCardsForCustomer() {
- return this.tradeCardsForCustomer;
- }
- public void setTradeCardsForCustomer(Set<TradeCard> tradeCardsForCustomer) {
- this.tradeCardsForCustomer = tradeCardsForCustomer;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<CustomerAddress> getCustomerAddresses() {
- return this.customerAddresses;
- }
- public void setCustomerAddresses(Set<CustomerAddress> customerAddresses) {
- this.customerAddresses = customerAddresses;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<CustomerLetter> getCustomerLetters() {
- return this.customerLetters;
- }
- public void setCustomerLetters(Set<CustomerLetter> customerLetters) {
- this.customerLetters = customerLetters;
- }
- @OneToOne(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public ServiceDealer getServiceDealer() {
- return this.serviceDealer;
- }
- public void setServiceDealer(ServiceDealer serviceDealer) {
- this.serviceDealer = serviceDealer;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<TargetLocationParams> getTargetLocationParamses() {
- return this.targetLocationParamses;
- }
- public void setTargetLocationParamses(Set<TargetLocationParams> targetLocationParamses) {
- this.targetLocationParamses = targetLocationParamses;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customerByCarrier"
- )
- public Set<TradeCard> getTradeCardsForCarrier() {
- return this.tradeCardsForCarrier;
- }
- public void setTradeCardsForCarrier(Set<TradeCard> tradeCardsForCarrier) {
- this.tradeCardsForCarrier = tradeCardsForCarrier;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<DataExchangePackage> getDataExchangePackages() {
- return this.dataExchangePackages;
- }
- public void setDataExchangePackages(Set<DataExchangePackage> dataExchangePackages) {
- this.dataExchangePackages = dataExchangePackages;
- }
- @OneToOne(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public ServiceOwner getServiceOwner() {
- return this.serviceOwner;
- }
- public void setServiceOwner(ServiceOwner serviceOwner) {
- this.serviceOwner = serviceOwner;
- }
- @OneToOne(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public BusinessPartner getBusinessPartner() {
- return this.businessPartner;
- }
- public void setBusinessPartner(BusinessPartner businessPartner) {
- this.businessPartner = businessPartner;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<ComputerCustomer> getComputerCustomers() {
- return this.computerCustomers;
- }
- public void setComputerCustomers(Set<ComputerCustomer> computerCustomers) {
- this.computerCustomers = computerCustomers;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<AccountLetter> getAccountLetters() {
- return this.accountLetters;
- }
- public void setAccountLetters(Set<AccountLetter> accountLetters) {
- this.accountLetters = accountLetters;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<Account> getAccounts() {
- return this.accounts;
- }
- public void setAccounts(Set<Account> accounts) {
- this.accounts = accounts;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<CustomerBankAccount> getCustomerBankAccounts() {
- return this.customerBankAccounts;
- }
- public void setCustomerBankAccounts(Set<CustomerBankAccount> customerBankAccounts) {
- this.customerBankAccounts = customerBankAccounts;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<CustomerComplaint> getCustomerComplaints() {
- return this.customerComplaints;
- }
- public void setCustomerComplaints(Set<CustomerComplaint> customerComplaints) {
- this.customerComplaints = customerComplaints;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<IncomingAccountRequest> getIncomingAccountRequests() {
- return this.incomingAccountRequests;
- }
- public void setIncomingAccountRequests(Set<IncomingAccountRequest> incomingAccountRequests) {
- this.incomingAccountRequests = incomingAccountRequests;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<CustomerUserRelation> getCustomerUserRelations() {
- return this.customerUserRelations;
- }
- public void setCustomerUserRelations(Set<CustomerUserRelation> customerUserRelations) {
- this.customerUserRelations = customerUserRelations;
- }
- @OneToOne(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public ServiceOperator getServiceOperator() {
- return this.serviceOperator;
- }
- public void setServiceOperator(ServiceOperator serviceOperator) {
- this.serviceOperator = serviceOperator;
- }
- @OneToMany(
- fetch = FetchType.LAZY,
- mappedBy = "customer"
- )
- public Set<OutputJob> getOutputJobs() {
- return this.outputJobs;
- }
- public void setOutputJobs(Set<OutputJob> outputJobs) {
- this.outputJobs = outputJobs;
- }
- @Column(
- name = "VAT_NUMBER",
- length = 15
- )
- public String getVatNumber() {
- return this.vatNumber;
- }
- public void setVatNumber(String vatNumber) {
- this.vatNumber = vatNumber;
- }
- @Column(
- name = "TAX_IDENTIFICATION_NUMBER",
- length = 15
- )
- public String getTaxIdentificationNumber() {
- return this.taxIdentificationNumber;
- }
- public void setTaxIdentificationNumber(String taxIdentificationNumber) {
- this.taxIdentificationNumber = taxIdentificationNumber;
- }
- @Column(
- name = "ENABLE_SIMPLE_TRADE_CARD",
- length = 4,
- nullable = false
- )
- public String getEnableSimpleTradeCard() {
- return this.enableSimpleTradeCard;
- }
- public void setEnableSimpleTradeCard(String enableSimpleTradeCard) {
- this.enableSimpleTradeCard = enableSimpleTradeCard;
- }
- @Column(
- name = "IS_CLASSIFIED_TAXPAYER",
- length = 1
- )
- public Character getIsClassifiedTaxpayer() {
- return this.isClassifiedTaxpayer;
- }
- public void setIsClassifiedTaxpayer(Character isClassifiedTaxpayer) {
- this.isClassifiedTaxpayer = isClassifiedTaxpayer;
- }
- @Column(
- name = "IS_STATEMENT_ENABLED",
- length = 1
- )
- public char getIsStatementEnabled() {
- return this.isStatementEnabled;
- }
- public void setIsStatementEnabled(char isStatementEnabled) {
- this.isStatementEnabled = isStatementEnabled;
- }
- @Column(
- name = "ENABLE_PREDECESSOR",
- length = 1
- )
- public Character getEnablePredecessor() {
- return this.enablePredecessor;
- }
- public void setEnablePredecessor(Character enablePredecessor) {
- this.enablePredecessor = enablePredecessor;
- }
- @Temporal(TemporalType.TIMESTAMP)
- @Column(
- name = "HIBERNATION_START",
- length = 7
- )
- public Date getHibernationStart() {
- return this.hibernationStart;
- }
- public void setHibernationStart(Date hibernationStart) {
- this.hibernationStart = hibernationStart;
- }
- @Temporal(TemporalType.TIMESTAMP)
- @Column(
- name = "HIBERNATION_END",
- length = 7
- )
- public Date getHibernationEnd() {
- return this.hibernationEnd;
- }
- public void setHibernationEnd(Date hibernationEnd) {
- this.hibernationEnd = hibernationEnd;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement