You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.8 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

namespace Hcrm.DTO;
/// <summary>装修页面列表/详情返回。</summary>
public class ShopRenovatePageDto
{
/// <summary>页面 ID。</summary>
public string tb_ShopRenovatePage_ID { get; set; } = string.Empty;
/// <summary>排序号。</summary>
public int SortNo { get; set; }
/// <summary>页面名称。</summary>
public string PageName { get; set; } = string.Empty;
/// <summary>页面业务标识。</summary>
public string PageKey { get; set; } = string.Empty;
/// <summary>发布时间字符串yyyy-MM-dd HH:mm:ss未发布时为 null。</summary>
public string? PublishTime { get; set; }
/// <summary>发布状态0 未发布1 已发布。</summary>
public int Status { get; set; }
/// <summary>状态中文名(未发布 / 已发布)。</summary>
public string StatusName { get; set; } = string.Empty;
/// <summary>页面装修 JSON列表接口不返回详情接口返回。</summary>
public string? PageConfigJson { get; set; }
}
/// <summary>新增/保存页面请求。</summary>
public class ShopRenovatePageSaveRequest
{
/// <summary>页面 ID新增时可空更新时必填。</summary>
public string? tb_ShopRenovatePage_ID { get; set; }
/// <summary>页面名称。</summary>
public string? PageName { get; set; }
/// <summary>页面业务标识。</summary>
public string? PageKey { get; set; }
/// <summary>排序号,可空时新增默认为 0。</summary>
public int? SortNo { get; set; }
/// <summary>页面装修 JSON。</summary>
public string? PageConfigJson { get; set; }
}
/// <summary>全店风格配置读写。</summary>
public class ShopRenovateStyleDto
{
/// <summary>风格 JSON示例{"theme":"red","tabCount":4,"tabStyle":1}。</summary>
public string? StyleConfigJson { get; set; }
}