初始化
This commit is contained in:
45
Models/Models/TBL_EQUIPMENTISSUELOG.cs
Normal file
45
Models/Models/TBL_EQUIPMENTISSUELOG.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class TBL_EQUIPMENTISSUELOG
|
||||
{
|
||||
/// <summary>
|
||||
/// 自增id
|
||||
/// </summary>
|
||||
[Key, Column(TypeName = "int"), Comment("id,自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int ID { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 日期
|
||||
/// </summary>
|
||||
[Required, Column(TypeName = "datetime(3)"), Comment("创建日期")]
|
||||
|
||||
public DateTime CreationTime { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否调用成功
|
||||
/// </summary>
|
||||
|
||||
[Column(TypeName = "int"), Comment("是否调用成功")]
|
||||
|
||||
public bool Succeed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 调用api参数
|
||||
/// </summary>
|
||||
|
||||
[Column(TypeName = "nvarchar(255)"), Comment("调用api参数")]
|
||||
public string Content { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user