LinkedSystemDto.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using AutoMapper;
  2. using Microsoft.EntityFrameworkCore.Migrations.Operations;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel.DataAnnotations.Schema;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace AipGateway.API.Domain.Entities
  11. {
  12. public partial class LinkedSystemDto
  13. {
  14. public int SystemId { get; set; }
  15. public string SystemName { get; set; }
  16. public DateTime CreatedAt { get; set; }
  17. public bool UseYn { get; set; }
  18. public string? SystemDesc { get; set; }
  19. public DateTime? DeletedAt { get; set; }
  20. public void Mapping(Profile profile)
  21. {
  22. profile.CreateMap<LinkedSystemDto, TbLinkedSystem>();
  23. profile.CreateMap<TbLinkedSystem, LinkedSystemDto>();
  24. }
  25. public override string ToString()
  26. {
  27. return "LinkedSystemDto{ SystemId: " + SystemId + ", SystemName: " + SystemName + ", CreatedAt: " + CreatedAt + "}";
  28. }
  29. }
  30. }