package cn.wise.sc.energy.power.plant.business.domain;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @description:
 * @author: qh
 * @create: 2020-08-12 13:51
 **/
@Data
@Valid
public class UserInfoQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @NotEmpty(message = "username不能为空!")
    private String username;

    @NotEmpty(message = "password不能为空!")
    private String password;

    private String sex;

    private String phone;

    private String name;

    private String plantId;
}
