1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
my-old-website/MyWebsite/MyWebsite/Models/ShortLinkModel.cs
T
Michael Gordeev 4c3b1bf5da Added link shortener
Fixed text selection
2020-06-20 12:13:11 +03:00

18 lines
376 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MyWebsite.Models
{
public class ShortLinkModel
{
[Key]
[Required]
[Column(TypeName = "varchar(255)")]
public string LinkId { get; set; }
[Required]
[Column(TypeName = "varchar(255)")]
public Uri Uri { get; set; }
}
}