Dm_ApplyDemo.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // 麻省理工学院许可证
  2. //
  3. // 版权所有 (c) 2021-2023 zuohuaijun,大名科技(天津)有限公司 联系电话/微信:18020030720 QQ:515096995
  4. //
  5. // 特此免费授予获得本软件的任何人以处理本软件的权利,但须遵守以下条件:在所有副本或重要部分的软件中必须包括上述版权声明和本许可声明。
  6. //
  7. // 软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
  8. // 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
  9. using Newtonsoft.Json;
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Text;
  14. using System.Threading.Tasks;
  15. namespace Admin.NET.Application.Entity;
  16. /// <summary>
  17. /// 申请示例(测试对象)
  18. /// </summary>
  19. [SugarTable(null, "申请示例")]
  20. [SysTable]
  21. public class Dm_ApplyDemo : EntityBase
  22. {
  23. /// <summary>
  24. /// 机构类型 详见字典类型 org_type
  25. /// </summary>
  26. [SugarColumn(ColumnDescription = "机构类型")]
  27. [Required]
  28. public int? OrgType { get; set; }
  29. /// <summary>
  30. /// 申请号
  31. /// </summary>
  32. [SugarColumn(ColumnDescription = "申请号", Length = 32)]
  33. [Required]
  34. public string ApplyNO { get; set; }
  35. /// <summary>
  36. /// 申请时间
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "申请时间")]
  39. [JsonConverter(typeof(ChinaDateTimeConverter))]
  40. public DateTime ApplicatDate { get; set; } = DateTime.Now;
  41. /// <summary>
  42. /// 申请金额
  43. /// </summary>
  44. [SugarColumn(ColumnDescription = "申请金额")]
  45. public decimal Amount { get; set; }
  46. /// <summary>
  47. /// 是否通知
  48. /// </summary>
  49. [SugarColumn(ColumnDescription = "是否通知")]
  50. public bool IsNotice { get; set; }
  51. /// <summary>
  52. /// 备注
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "备注", Length = 2000)]
  55. public string Remark { get; set; }
  56. }