zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
 
namespace Operater.DTO
{
    public class CreateShortLinkRequest
    {
 
        [Required(ErrorMessage = "LongLink不能为空")]
        public string LongLink { get; set; }
    }
    public class CreateShortLinkResponse
    {
        public CreateShortLinkDomain result { get; set; }
 
        public CreateShortLinkError error { get; set; }
    }
 
    public class CreateShortLinkDomain
    {
        public string key { get; set; }
 
        public string shortUrl { get; set; }
    }
 
    public class CreateShortLinkError
    {
        public string message { get; set; }
    }
 
}