UuidIdentityVO.java 763 B

1234567891011121314151617181920212223242526272829
  1. /*******************************************************************************
  2. * Copyright (c) 2005, 2014 springside.github.io
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. *******************************************************************************/
  6. package com.yihu.jw.restmodel;
  7. import io.swagger.annotations.ApiModelProperty;
  8. import java.io.Serializable;
  9. /**
  10. * Basic VO - UUID类型的主键基类
  11. * Created by progr1mmer on 2018/8/13.
  12. */
  13. public abstract class UuidIdentityVO implements Serializable {
  14. @ApiModelProperty(value = "id", example = "402803ee656498890165649ad2da1112" )
  15. protected String id; // 非业务主键
  16. public String getId() {
  17. return id;
  18. }
  19. public void setId(String id) {
  20. this.id = id;
  21. }
  22. }