123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- package com.caimei.modules.permission.entity;
- import com.thinkgem.jeesite.common.persistence.DataEntity;
- import org.hibernate.validator.constraints.Length;
- /**
- * 权限表Entity
- *
- * @author lwt
- * @version 2019-06-18
- */
- public class ReceiptUserPermission extends DataEntity<ReceiptUserPermission> {
- private static final long serialVersionUID = 1L;
- private String userType; // 用户类型:1收款通知权限(财务人员使用),2收款确认权限,3收款审核权限 4、返佣管理权限
- private String name; // 名称
- private String mobile; // 授权人手机号
- private String openid; // 微信openid
- /**
- * 用户身份
- */
- private String userIdentity;
- public ReceiptUserPermission() {
- super();
- }
- public ReceiptUserPermission(String id) {
- super(id);
- }
- @Length(min = 0, max = 1, message = "用户类型:1收款通知权限(财务人员使用),2收款确认权限,3收款审核权限 4、返佣管理权限长度必须介于 0 和 1 之间")
- public String getUserType() {
- return userType;
- }
- public void setUserType(String userType) {
- this.userType = userType;
- }
- @Length(min = 0, max = 50, message = "名称长度必须介于 0 和 50 之间")
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- @Length(min = 0, max = 11, message = "授权人手机号长度必须介于 0 和 11 之间")
- public String getMobile() {
- return mobile;
- }
- public void setMobile(String mobile) {
- this.mobile = mobile;
- }
- @Length(min = 0, max = 255, message = "微信openid长度必须介于 0 和 255 之间")
- public String getOpenid() {
- return openid;
- }
- public void setOpenid(String openid) {
- this.openid = openid;
- }
- public String getUserIdentity() {
- return userIdentity;
- }
- public void setUserIdentity(String userIdentity) {
- this.userIdentity = userIdentity;
- }
- }
|