123456789101112131415161718192021222324252627282930313233343536 |
- using AipGateway.API.Domain.Entities;
- using AutoMapper;
- using Microsoft.EntityFrameworkCore.Migrations.Operations;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace AipGateway.API.Domain.Models.Dto
- {
- public partial class LinkedSystemDto
- {
- public int SystemId { get; set; }
- public string SystemName { get; set; } = string.Empty;
- public DateTime CreatedAt { get; set; }
- public bool UseYn { get; set; }
- public string? SystemDesc { get; set; }
- public DateTime? DeletedAt { get; set; }
- public void Mapping(Profile profile)
- {
- profile.CreateMap<LinkedSystemDto, TbLinkedSystem>();
- profile.CreateMap<TbLinkedSystem, LinkedSystemDto>();
- }
- public override string ToString()
- {
- return "LinkedSystemDto{ SystemId: " + SystemId + ", SystemName: " + SystemName + ", CreatedAt: " + CreatedAt + "}";
- }
- }
- }
|