package com.lightinit.hsdataplatform.model.admin;

import com.lightinit.hsdataplatform.annotation.FieldDescriber;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Size;

public class UserEditModel {

    private Long id ;

    @NotEmpty
    @FieldDescriber(descripton = "用户账号")
    private String username ;

    @NotEmpty
    @FieldDescriber(descripton = "用户全称")
    private String showname ;

    private String salt ;

    private Integer accountlock;

    private Long orgId ;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getShowname() {
        return showname;
    }

    public void setShowname(String showname) {
        this.showname = showname;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getAccountlock() {
        return accountlock;
    }

    public void setAccountlock(Integer accountlock) {
        this.accountlock = accountlock;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }
}
