提交代码
This commit is contained in:
parent
786dbe506f
commit
4e06d652aa
|
|
@ -583,6 +583,9 @@ public partial class MiaoYuContext : MultiTenantDbContext//DbContext
|
||||||
entity.Property(e => e.PropDesc)
|
entity.Property(e => e.PropDesc)
|
||||||
.HasMaxLength(255)
|
.HasMaxLength(255)
|
||||||
.HasComment("道具描述");
|
.HasComment("道具描述");
|
||||||
|
entity.Property(e => e.PropId)
|
||||||
|
.HasMaxLength(1)
|
||||||
|
.HasComment("道具Id");
|
||||||
entity.Property(e => e.PropImgId).HasComment("道具图片配置 图片id");
|
entity.Property(e => e.PropImgId).HasComment("道具图片配置 图片id");
|
||||||
entity.Property(e => e.PropName)
|
entity.Property(e => e.PropName)
|
||||||
.HasMaxLength(100)
|
.HasMaxLength(100)
|
||||||
|
|
|
||||||
|
|
@ -62,4 +62,9 @@ public partial class T_ShoppingMall: MultiTenantEntity
|
||||||
/// 价格
|
/// 价格
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public decimal Price { get; set; }
|
public decimal Price { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 道具Id
|
||||||
|
/// </summary>
|
||||||
|
public string PropId { get; set; } = null!;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,17 @@ namespace HuanMeng.MiaoYu.Model.Dto.Chat
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DateTime? LastContactTime { get; set; }
|
public DateTime? LastContactTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 最后一次联系时间
|
||||||
|
/// </summary>
|
||||||
|
public string LastContactTimeStr
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LastContactTime?.ToString("MM-dd HH:mm");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 最后一次消息
|
/// 最后一次消息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user