package com.bonus.boot.manager.manager.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class SysUser extends BaseEntity<Long> {

	private static final long serialVersionUID = -6525908145032868837L;

	private String userId;

	private String username;

	private String idCard;

	private String department;
	private String departmentId;

	private Integer age;

	private String combSex;
	private String keyWord;

	private String password;
	private String nickname;
	private String headImgUrl;
	private String phone;
	private String telephone;
	private String email;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date birthday;
	private String  sex;
	private Integer status;
	private String intro;
	private String roleId;
	private String roleName;
	private String hospitalId;
	private String isPush;
	private String orgId;

    public interface Status {
		int DISABLED = 0;
		int VALID = 1;
		int LOCKED = 2;
	}

}
