Files
RBMESAPICore/Models/MesRequestStatu.cs
yuyubohh e8494ba988 qqq
2025-09-09 22:41:29 +08:00

41 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RB_MES_API.Models
{
/// <summary>
/// K3接口访问的数据库备份
/// </summary>
public class MesRequestStatu
{
/// <summary>
/// 主键
/// </summary>
//[DatabaseGenerated(DatabaseGeneratedOption.None)]
//[StringLength(50)]
[Key]
public int FID { get; set; }
[Required()]
[StringLength(80)]
[DisplayName("请求接口")]
public string FInterface { get; set; } = string.Empty;
[Required()]
[DisplayName("创建时间")]
public string FDate { get; set; } = DateTime.Now.ToString();
/// <summary>
/// 推送表单类型类似于云星空的FormID
/// </summary>
[Required()]
[StringLength(80)]
[DisplayName("请求类型")]
public string FDocType { get; set; } = string.Empty;
/// <summary>
/// MES原始JSON
/// </summary>
[Required()]
[DisplayName("IMS请求JSON")]
public string FRequestJson { get; set; } = string.Empty;
}
}