using SqlSugar;
using System;
namespace DeviceRepair.Models
{
///
/// AttachmentInfo
///
[SugarTable("Attachment")]
public class AttachmentInfo
{
///
/// 默认构造函数(需要初始化属性的在此处理)
///
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
}
}