You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
500 B

  1. package com.qmrz.dto;
  2. import com.qmrz.admin.AdminLogin;
  3. import com.qmrz.exception.ABException;
  4. import lombok.Data;
  5. @Data
  6. public class ParamCustomer {
  7. private Integer customerid = AdminLogin.getCustomerInfo().getCustomerID();
  8. public ParamCustomer setCustomerid(Integer customerid){
  9. throw new ABException("customerid不允许set,请使用_set");
  10. }
  11. public ParamCustomer _setCustomerid(Integer customerid){
  12. this.customerid = customerid;
  13. return this;
  14. }
  15. }