You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.3 KiB
C#

using DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 业务附件表
/// </summary>
[SqlSugar.SugarTable("op_file", "业务附件表")]
public class OpFile : BaseOrgModel<long>
{
/// <summary>
/// 关联业务id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "关联业务id", IsNullable = false)]
public long LinkId { get; set; }
/// <summary>
/// 文件名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "文件名称", IsNullable = false, Length = 100)]
public string FileName { get; set; }
/// <summary>
/// 文件路径
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "文件路径", IsNullable = false, Length = 200)]
public string FilePath { get; set; }
/// <summary>
/// 附件类型id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "附件类型id", IsNullable = true, Length = 100)]
public string TypeCode { get; set; }
/// <summary>
/// 附件类型
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "附件类型", IsNullable = true, Length = 100)]
public string TypeName { get; set; }
/// <summary>
/// 附件模块
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "附件模块", IsNullable = true, Length = 100)]
public string Moudle { get; set; }
/// <summary>
/// 文件大小
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "文件大小", IsNullable = false, Length = 100,DefaultValue ="0")]
public int FileSize { get; set; }
/// <summary>
/// 文件类型
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "文件类型", IsNullable = false, Length = 100)]
public string FileType { get; set; }
/// <summary>
/// 拓展名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "拓展名称", IsNullable = false, Length = 100)]
public string Extension { get; set; }
}
}