gx
This commit is contained in:
1 parent
f2caec6083
commit
75d0e85218
16 files changed
+316
-320
No files matched your search
+4
-8
@@ -4,10 +4,10 @@ using System.Text.Json.Serialization;
|
||||
namespace Store.Modules.CloudProduct.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品表实体
|
||||
/// 商品表实体(对应数据库表 goods)
|
||||
/// </summary>
|
||||
[Table(Name = "goods")] // 请根据实际表名调整
|
||||
public class ProductEntity
|
||||
[Table(Name = "goods")]
|
||||
public class GoodsEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 自增ID
|
||||
@@ -101,7 +101,6 @@ namespace Store.Modules.CloudProduct.Entities
|
||||
/// </summary>
|
||||
[Column(Name = "createdTime", IsNullable = false, ServerTime = DateTimeKind.Utc)]
|
||||
[JsonIgnore]
|
||||
|
||||
public DateTime CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -109,16 +108,13 @@ namespace Store.Modules.CloudProduct.Entities
|
||||
/// </summary>
|
||||
[Column(Name = "updatedTime", IsNullable = false, ServerTime = DateTimeKind.Utc)]
|
||||
[JsonIgnore]
|
||||
|
||||
public DateTime UpdatedTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否已分词:0未 1已
|
||||
/// </summary>
|
||||
[Column(Name = "is_segmented", IsNullable = false)]
|
||||
[JsonIgnore]
|
||||
public byte IsSegmented { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user