mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-14 01:25:43 -05:00
18 lines
370 B
C#
18 lines
370 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace WeatherService.Data
|
|
{
|
|
[Table("Setting")]
|
|
public class SettingData
|
|
{
|
|
[Key]
|
|
[StringLength(500)]
|
|
public string Name { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(3500)]
|
|
public string Value { get; set; }
|
|
}
|
|
}
|