mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 19:08:33 +08:00
24 lines
555 B
C#
24 lines
555 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BetterLyrics.WinUI3.Models
|
|
{
|
|
public partial class LanguageInfo : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
public partial string Code { get; set; }
|
|
[ObservableProperty]
|
|
public partial string Name { get; set; }
|
|
|
|
public LanguageInfo(string code, string name)
|
|
{
|
|
Code = code;
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|