| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 禁止用户的标识
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_forbidden_user_identify_code")
|
| | | public class ForbiddenUserIdentifyCode {
|
| | |
|
| | | public enum ForbiddenUserIdentifyCodeTypeEnum {
|
| | | wxUnionId("微信unionId"), taobaoUid("淘宝ID"), phone("手机号"), alipayAccount("支付宝账号");
|
| | | private final String desc;
|
| | |
|
| | | private ForbiddenUserIdentifyCodeTypeEnum(String desc) {
|
| | | this.desc = desc;
|
| | | }
|
| | |
|
| | | public String getDesc() {
|
| | | return desc;
|
| | | }
|
| | | }
|
| | |
|
| | | @Column(name = "fuc_id")
|
| | | private Long id;
|
| | | @Column(name = "fuc_type")
|
| | | private ForbiddenUserIdentifyCodeTypeEnum type;
|
| | | @Column(name = "fuc_identify_code")
|
| | | private String identifyCode;
|
| | | @Column(name = "fuc_effective")
|
| | | private Boolean effective;// 是否生效
|
| | | @Column(name = "fuc_beizhu")
|
| | | private String beiZhu;
|
| | | @Column(name = "fuc_create_time")
|
| | | private Date createTime;
|
| | | @Column(name = "fuc_update_time")
|
| | | private Date updateTime;
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public ForbiddenUserIdentifyCodeTypeEnum getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(ForbiddenUserIdentifyCodeTypeEnum type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getIdentifyCode() {
|
| | | return identifyCode;
|
| | | }
|
| | |
|
| | | public void setIdentifyCode(String identifyCode) {
|
| | | this.identifyCode = identifyCode;
|
| | | }
|
| | |
|
| | | public Boolean getEffective() {
|
| | | return effective;
|
| | | }
|
| | |
|
| | | public void setEffective(Boolean effective) {
|
| | | this.effective = effective;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | | }
|
| | |
|
| | | public void setUpdateTime(Date updateTime) {
|
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | public String getBeiZhu() {
|
| | | return beiZhu;
|
| | | }
|
| | |
|
| | | public void setBeiZhu(String beiZhu) {
|
| | | this.beiZhu = beiZhu;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 禁止用户的标识 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_forbidden_user_identify_code") |
| | | public class ForbiddenUserIdentifyCode { |
| | | |
| | | public enum ForbiddenUserIdentifyCodeTypeEnum { |
| | | wxUnionId("微信unionId"), taobaoUid("淘宝ID"), phone("手机号"), alipayAccount("支付宝账号"); |
| | | private final String desc; |
| | | |
| | | private ForbiddenUserIdentifyCodeTypeEnum(String desc) { |
| | | this.desc = desc; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | } |
| | | |
| | | @Column(name = "fuc_id") |
| | | private Long id; |
| | | @Column(name = "fuc_type") |
| | | private ForbiddenUserIdentifyCodeTypeEnum type; |
| | | @Column(name = "fuc_identify_code") |
| | | private String identifyCode; |
| | | @Column(name = "fuc_effective") |
| | | private Boolean effective;// 是否生效 |
| | | @Column(name = "fuc_beizhu") |
| | | private String beiZhu; |
| | | @Column(name = "fuc_create_time") |
| | | private Date createTime; |
| | | @Column(name = "fuc_update_time") |
| | | private Date updateTime; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public ForbiddenUserIdentifyCodeTypeEnum getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(ForbiddenUserIdentifyCodeTypeEnum type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getIdentifyCode() { |
| | | return identifyCode; |
| | | } |
| | | |
| | | public void setIdentifyCode(String identifyCode) { |
| | | this.identifyCode = identifyCode; |
| | | } |
| | | |
| | | public Boolean getEffective() { |
| | | return effective; |
| | | } |
| | | |
| | | public void setEffective(Boolean effective) { |
| | | this.effective = effective; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Date getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public String getBeiZhu() { |
| | | return beiZhu; |
| | | } |
| | | |
| | | public void setBeiZhu(String beiZhu) { |
| | | this.beiZhu = beiZhu; |
| | | } |
| | | |
| | | } |