合并云商品分支到 master 并适配插件结构
This commit is contained in:
commit
1fa91a9cfb
15 files changed
+968
-48
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace Store.Modules.CloudProduct.Entities;
|
||||
|
||||
[Table(Name = "goods_violation")]
|
||||
public class GoodsViolationEntity
|
||||
{
|
||||
[Column(Name = "goods_id", IsPrimary = true)]
|
||||
public long GoodsId { get; set; }
|
||||
|
||||
[Column(Name = "reason_id", IsPrimary = true, IsNullable = false)]
|
||||
public uint ReasonId { get; set; }
|
||||
|
||||
[Column(Name = "is_index_deleted")]
|
||||
public bool IsIndexDeleted { get; set; }
|
||||
|
||||
[Column(Name = "created_time")]
|
||||
public DateTime CreatedTime { get; set; }
|
||||
|
||||
[Column(Name = "updated_time")]
|
||||
public DateTime UpdatedTime { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace Store.Modules.CloudProduct.Entities;
|
||||
|
||||
[Table(Name = "violation_reason")]
|
||||
public class ViolationReasonEntity
|
||||
{
|
||||
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
|
||||
public uint Id { get; set; }
|
||||
|
||||
[Column(Name = "name", StringLength = 100, IsNullable = false)]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Column(Name = "is_violation", IsNullable = false)]
|
||||
public bool IsViolation { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user