package com.gyee.frame.model.ticket;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenmh
 * @since 2020-08-04
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("IBSUSERS")
public class Ibsusers extends Model<Ibsusers> {

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("USERID")
    private String userid;

    @TableField("LABORNUM")
    private String labornum;

    @TableField("LOGINID")
    private String loginid;

    @TableField("PASSWORD")
    private String password;

    @TableField("FAILEDLOGINS")
    private Double failedlogins;

    @TableField("PASWDEXPIRATION")
    private String paswdexpiration;

    @TableField("PWEXPIRATION")
    private Date pwexpiration;

    @TableField("STATUS")
    private String status;

    @TableField("ISSYSUSER")
    private String issysuser;

    @TableField("DEFSTOREROOM")
    private String defstoreroom;

    @TableField("REMARK")
    private String remark;

    @TableField("ORDERBY")
    private Double orderby;


    @Override
    protected Serializable pkVal() {
          return this.id;
      }

}
