DeviceManager/DeviceRepair.Models/Common/AttachmentInfo.cs

55 lines
1.2 KiB
C#
Raw Permalink Normal View History

2024-05-28 14:36:38 +00:00
using SqlSugar;
using System;
namespace DeviceRepair.Models
{
/// <summary>
/// AttachmentInfo
/// </summary>
[SugarTable("Attachment")]
public class AttachmentInfo
{
/// <summary>
/// 默认构造函数(需要初始化属性的在此处理)
/// </summary>
public AttachmentInfo()
{
this.Guid = Guid.NewGuid();
}
#region Property Members
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public virtual int AutoID { get; set; }
public virtual Guid Guid { get; set; }
public virtual string FileName { get; set; }
public virtual string FilePath { get; set; }
public virtual string Extension { get; set; }
public virtual string Module { get; set; }
public virtual string TableName { get; set; }
public virtual string PrimaryKey { get; set; }
public virtual string ValueType { get; set; }
public virtual bool Status { get; set; }
public virtual DateTime CreateOn { get; set; }
public virtual int CreateBy { get; set; }
public virtual string PrimaryValue { get; set; }
#endregion
}
}