using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace Models { /// /// 通用附件 /// [SugarTable("OA_attachment")] public class OA_attachment { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="Keyid" ,IsPrimaryKey = true,IsIdentity = true) ] public int Keyid { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="OA_Id" ) ] public Guid? OA_Id { get; set; } /// /// 备 注: 完整路径 /// 默认值: /// [SugarColumn(ColumnName="PlanAttachment" ) ] public string? PlanAttachment { get; set; } /// /// 备 注: /// 默认值: 3 /// [SugarColumn(ColumnName="AttachmentType" ) ] public int? AttachmentType { get; set; } /// /// 备 注: 文件名 /// 默认值: /// [SugarColumn(ColumnName="AttachmentName" ) ] public string? AttachmentName { get; set; } /// /// 备 注:后缀名 /// 默认值: /// [SugarColumn(ColumnName="AttachmentHouzhui" ) ] public string? AttachmentHouzhui { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="CreateTime" ) ] public DateTime CreateTime { get; set; } /// /// 备 注:操作人 /// 默认值: /// [SugarColumn(ColumnName="Operator" ) ] public string Operator { get; set; } = null!; } }