package com.fufan.mtsaas.modules.sysmgr.syuser.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 *
 * @author Liby
 * @date 2019-08-14
 */
@Data
@ApiModel(description = "用户信息表")
@TableName("SYuser")
public class SYuser implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "系统ID")
    private int id;

    @ApiModelProperty(value = "公司ID")
	private String companyID;

    @ApiModelProperty(value = "创建人员")
	private String registeredPerson;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private String registeredDT;

    @ApiModelProperty(value = "更新人员")
	private String updatedPerson;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private String updatedDT;

    @ApiModelProperty(value = "是否排除 Y-是，N-否")
	private String exclusiveFG;

    @ApiModelProperty(value = "是否有效：0-是，1-否")
	private String vldFG;

    @ApiModelProperty(value = "用户ID")
	private String userID;

    @ApiModelProperty(value = "姓名")
	private String name;

    @ApiModelProperty(value = "所属岗位ID")
    private String stationID;

    @ApiModelProperty(value = "所属部门ID")
    private String depID;

    @ApiModelProperty(value = "所属组ID")
	private String userGroupID;

    @ApiModelProperty(value = "邮箱")
	private String mailAddress;

    @ApiModelProperty(value = "密码")
	private String password;

    @ApiModelProperty(value = "员工编号")
	private String empNo;

    @ApiModelProperty(value = "手机号")
	private String phoneNo;

    @ApiModelProperty(value = "微信号")
	private String wChatID;

    @ApiModelProperty(value = "是否绑定MAC地址")
	private String checkMAC;

    @ApiModelProperty(value = "MAC地址")
	private String MACID;

    @ApiModelProperty(value = "备注")
	private String note;

    @ApiModelProperty(value = "账号类型：0-正式，1-测试")
    private Integer accountType;

    @ApiModelProperty(value = "登录时间")
    private String loginTime;

    @ApiModelProperty(value = "是否职能部门审批人：0-是，1-否")
    private int isStation;
}
