java.lang.Object
es.kukenan.smartfi.microservice.firm.repository.entity.User
All Implemented Interfaces:
Serializable

@Entity public class User extends Object implements Serializable
DAO for user table in Database.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      serial version.
      See Also:
    • id

      @Size(max=50) private @Size(max=50) String id
      User Id.
    • name

      @NotEmpty @Size(max=45) private @NotEmpty @Size(max=45) String name
      User name.
    • surname

      @Size(max=50) private @Size(max=50) String surname
      User second surname.
    • documentType

      private DocumentType documentType
      Type of user document.
    • documentId

      @Size(max=20) private @Size(max=20) String documentId
      User document id.
    • companyId

      @NotEmpty @Size(max=2, min=2) private @NotEmpty @Size(max=2,min=2) String companyId
      User company.
    • language

      private UserLanguage language
      User language.
    • gender

      private UserGender gender
      User gender.
    • civilStatus

      private UserCivilStatus civilStatus
      User civil status.
    • state

      private UserState state
      user status.
    • type

      private UserType type
      user type.
    • natureType

      @Size(max=1) private @Size(max=1) String natureType
      Nature type.
    • userCode

      private Integer userCode
      User code.
    • lastUpdatePhoneDate

      private LocalDate lastUpdatePhoneDate
      last update phone date.
    • email

      @Size(max=255) private @Size(max=255) String email
      email.
    • phone

      @Size(max=20) private @Size(max=20) String phone
      phone.
    • phonePrefix

      @Size(max=5) private @Size(max=5) String phonePrefix
      phone prefix.
    • userBackoffice

      private List<UserBackoffice> userBackoffice
      list of user backoffice.
    • address

      private String address
      User address.
    • nationality

      private String nationality
      User nationality.
  • Constructor Details

    • User

      public User()