EngineModelUpdateDto.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using WePlatform.Configuration;
  6. namespace WePlatform.WeModel.Model.Dto
  7. {
  8. /// <summary>
  9. /// 推演模型管理
  10. /// </summary>
  11. [AutoMapTo(typeof(EngineModelInfo))]
  12. public class EngineModelUpdateDto: EntityDto<string>
  13. {
  14. /// <summary>
  15. /// 模型名称
  16. /// </summary>
  17. [StringLength(EngineModelInfo.NameLength)]
  18. public string ModelName { get; set; }
  19. /// <summary>
  20. /// 模型版本
  21. /// </summary>
  22. [StringLength(EngineModelInfo.NameLength)]
  23. public string Version { get; set; }
  24. /// <summary>
  25. /// 模型描述
  26. /// </summary>
  27. [StringLength(EngineModelInfo.DescLength)]
  28. public string Description { get; set; }
  29. // /// <summary>
  30. // /// 模型类型
  31. // /// </summary>
  32. //public int ModelType { get; set; }
  33. // /// <summary>
  34. // /// 推演引擎
  35. // /// </summary>
  36. // [StringLength(IwbConsts.PrimaryKey)]
  37. //public string EngineNo { get; set; }
  38. }
  39. }