sys_File.cs
2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
using System;
using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations.Schema;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
//[SugarTable("sys_File")]
public partial class sys_File:base_entity
{
/// <summary>
/// id
/// </summary>
[SugarColumn(ColumnDescription = "id", IsNullable = false, IsIdentity = true, IsPrimaryKey = true)]
public int id { get; set; }
/// <summary>
/// 表名
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "表名", IsNullable = true)]
public string targetTableName { get; set; }
/// <summary>
/// 目标ID
/// </summary>
[SugarColumn(ColumnDescription = "目标ID", IsNullable = false)]
public int targetId { get; set; }
/// <summary>
/// 编码
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "编码", IsNullable = true)]
public string fileCode { get; set; }
/// <summary>
/// 主机
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "主机", IsNullable = true)]
public string host { get; set; }
/// <summary>
/// 下载地址
/// </summary>
[SugarColumn(Length = 200, ColumnDescription = "下载地址", IsNullable = true)]
public string url { get; set; }
/// <summary>
/// 图片宽度(仅图片文件有这个值)
/// </summary>
[SugarColumn(ColumnDescription = "图片宽度(仅图片文件有这个值)", IsNullable = true)]
public int width { get; set; }
/// <summary>
/// 图片高度(仅图片文件有这个值)
/// </summary>
[SugarColumn(ColumnDescription = "图片高度(仅图片文件有这个值)", IsNullable = true)]
public int height { get; set; }
/// <summary>
/// 文件大小
/// </summary>
[SugarColumn(ColumnDescription = "文件大小", IsNullable = true)]
public string size { get; set; }
/// <summary>
/// 文件位置
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "文件位置", IsNullable = true)]
public string position { get; set; }
/// <summary>
/// 原始文件名
/// </summary>
[SugarColumn(Length = 120, ColumnDescription = "原始文件名", IsNullable = true)]
public string fileName { get; set; }
/// <summary>
/// 后缀(文档类型)
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "后缀(文档类型)", IsNullable = true)]
public string suffix { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(Length = 2000, ColumnDescription = "备注", IsNullable = true)]
public string remark { get; set; }
/// <summary>
/// isDelete1删除,0启用
/// </summary>
[SugarColumn(ColumnDescription = "isDelete1删除,0启用", IsNullable = true)]
public int isDelete { get; set; }
}
}