package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.entity.SysUser;
import com.ssm.manage.page.BasePage;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserRequest extends BasePage implements Serializable {
    private String userNum;
    private String password;
    private String newPassword;
    private String phone;
    private String passCode;
    private String token;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date founderDatetime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDatetime;
    private long[] ids;
    private Long id;
    private Integer state;
    private String wechat;
    private String qq;
    private String mailbox;
    private String userName;

    private Long storeId;

    //开通门店获取短信，1为在总店pc端获取，2为平台管理端获取
    private int getType;
}
