FieldFill.java 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2011-2014, hubin (jobob@qq.com).
  3. * <p>
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. * <p>
  8. * https://www.apache.org/licenses/LICENSE-2.0
  9. * <p>
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.baomidou.mybatisplus.annotation;
  17. /**
  18. * 字段填充策略枚举类
  19. *
  20. * @author hubin
  21. * @since 2017-06-27
  22. */
  23. public enum FieldFill {
  24. /**
  25. * 默认不处理
  26. */
  27. DEFAULT,
  28. /**
  29. * 插入填充字段
  30. */
  31. INSERT,
  32. /**
  33. * 更新填充字段
  34. */
  35. UPDATE,
  36. /**
  37. * 插入和更新填充字段
  38. */
  39. INSERT_UPDATE
  40. }