SunJian/WebApi/Models/Dict.cs

22 lines
486 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace WebApi.Models;
[Table("Dict")]
[Index("Word", Name = "wordIndex")]
public partial class Dict
{
[Key]
[Column("word")]
public string Word { get; set; } = null!;
[Column("autoSugg")]
public string? AutoSugg { get; set; }
public string Defi { get; set; } = null!;
}