month8.12/bwie-common/src/main/java/com/bwie/common/domain/User.java

49 lines
792 B
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.bwie.common.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
/**
* @Authorzhangchengzhi
* @Packagecom.bwie.common.domain
* @Projectmonth_8.12_Electronic-business
* @nameUser
* @Date2024/8/12 9:38
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
/**
*用户主键
*/
private Long id;
/**
* 用户名
*/
private String userName;
/**
* 用户手机号
*/
private String userPhone;
/**
* 用户密码
*/
private String userPwd;
/**
* 用户金额
*/
private BigDecimal userMoney;
/**
* 用户角色 1.管理员 0.普通用户
*/
private String userRole;
}