/
qwiklly
/
arc-server
Обзор
Документация
Войти
/
qwiklly
/
arc-server
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
src/AppRemoteConfig/Models/Database/AppVersion.cs
32 строки
912 B
CLTanuki
chore: updated file structure
20 ноя 2023, 14:45
20 ноя 2023, 14:45
8ac989d
Код
Авторство
О чём код?
namespace AppRemoteConfig.Models.Database { using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; [Index(nameof(ApplicationId), nameof(Major), nameof(Minor), nameof(Patch), IsUnique = true)] public class AppVersion { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid Id { get; set; } public string? Description { get; set; } public int Major { get; set; } public int Minor { get; set; } public int Patch { get; set; } public bool IsArchive { get; set; } public string? ParametersSchema { get; set; } public Guid ApplicationId { get; set; } public virtual Application Application { get; set; } public virtual List<ValueFlag> Parameters { get; set; } } }