把一些项目移动到插件中
This commit is contained in:
1 parent
d0f9f00b76
commit
5ff52dea92
60 files changed
+410
-27
No files matched your search
@@ -0,0 +1,31 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Store.Modules.CloudProduct.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户收藏分组表实体(对应数据库表 user_goods_favorites_group)
|
||||
/// </summary>
|
||||
[Table(Name = "user_goods_favorites_group")]
|
||||
public class UserGoodsFavoriteGroupEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 自增主键,即收藏表 user_goods_favorites.group_id 的取值
|
||||
/// </summary>
|
||||
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
|
||||
[JsonIgnore]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户名
|
||||
/// </summary>
|
||||
[Column(Name = "user_name", IsNullable = false, StringLength = 50)]
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 分组名
|
||||
/// </summary>
|
||||
[Column(Name = "group_name", IsNullable = false, StringLength = 255)]
|
||||
public string GroupName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user