InvisibleAttribute.cs 566 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace CZFW.Framework.Attributes
  5. {
  6. public class InvisibleAttribute : Attribute
  7. {
  8. //列表表格
  9. public bool TableVisible { get; set; } = false;
  10. //编辑
  11. public bool FormVisible { get; set; } = false;
  12. //详情
  13. public bool ViewVisible { get; set; } = false;
  14. //添加
  15. public bool AddVisible { get; set; } = false;
  16. public bool ExportVisible { get; set; } = false;
  17. public bool ViewModel { get; set; }
  18. }
  19. }