Material.cs
2.82 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebRepository
{
/// <summary>
/// 物料表
/// </summary>
[Table("material")]
public partial class Material : SysEntity
{
public Material()
{
}
/// <summary>
/// 物料编码
/// </summary>
[Column("code")]
public string Code { get; set; }
/// <summary>
/// 物料类别
/// </summary>
[Column("type")]
public string Type { get; set; }
/// <summary>
/// 名称
/// </summary>
[Column("name")]
public string Name { get; set; }
/// <summary>
/// 条码
/// </summary>
[Column("barcode")]
public string Barcode { get; set; }
/// <summary>
/// 规格
/// </summary>
[Column("specification")]
public string Specification { get; set; }
/// <summary>
/// 品牌
/// </summary>
[Column("brand")]
public string Brand { get; set; }
/// <summary>
/// 尺码
/// </summary>
[Column("size")]
public string Size { get; set; }
/// <summary>
/// 颜色
/// </summary>
[Column("color")]
public string Color { get; set; }
/// <summary>
/// 产地
/// </summary>
[Column("placeOfOrigin")]
public string PlaceOfOrigin { get; set; }
/// <summary>
/// 保质期(天)
/// </summary>
[Column("daysToExpire")]
public int? DaysToExpire { get; set; }
/// <summary>
/// 临期预警天数
/// </summary>
[Column("expiringDays")]
public int? ExpiringDays { get; set; }
/// <summary>
/// 收货预警天数
/// </summary>
[Column("minShelfLifeDays")]
public int? MinShelfLifeDays { get; set; }
/// <summary>
/// 成本
/// </summary>
[Column("costPrice")]
public decimal? CostPrice { get; set; }
/// <summary>
/// 标价
/// </summary>
[Column("listPrice")]
public decimal? ListPrice { get; set; }
/// <summary>
/// 净价
/// </summary>
[Column("netPrice")]
public decimal? NetPrice { get; set; }
/// <summary>
/// 主计量单位
/// </summary>
[Column("masterUnit")]
public string MasterUnit { get; set; }
/// <summary>
/// 辅计量单位
/// </summary>
[Column("assistUnit")]
public string AssistUnit { get; set; }
/// <summary>
/// 计量换算率
/// </summary>
[Column("convertRate")]
public float? ConvertRate { get; set; }
/// <summary>
/// 预警数量
/// </summary>
[Column("alertNum")]
public int? AlertNum { get; set; }
}
}