using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace YBEE.EQM.Core;
///
/// 监测结果
///
[Comment("监测结果")]
public class ExamResult : DEntityBase
{
///
/// 监测计划ID
///
[Comment("监测计划ID")]
[Required]
public int ExamPlanId { get; set; }
///
/// 监测结果发布内容ID
///
[Comment("监测结果发布内容ID")]
[Required]
public int ExamDataPublishId { get; set; }
///
/// 文件名
///
[Comment("文件名")]
[Required, StringLength(100)]
public string FileName { get; set; }
///
/// 文件路径
///
[Comment("文件路径")]
[Required, StringLength(300)]
public string FilePath { get; set; }
///
/// 扩展名
///
[Comment("扩展名")]
[Required, StringLength(50)]
public string FileExtName { get; set; }
///
/// 文件大小
///
[Comment("文件大小")]
[Required]
public long FileSize { get; set; } = 0;
}