mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-15 01:25:42 -05:00
More cleanup
This commit is contained in:
17
Data/SettingData.cs
Normal file
17
Data/SettingData.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user