Services/PublicService/Domain/Entities/MallSetting.cs
(完整代码) 1KBusing System;
using DomainBase;
namespace Domain.Entities
{
/// <summary>
/// 领域实体
/// </summary>
public class MallSetting : Entity, IAggregateRoot
{
/// <summary>
/// 商铺名
/// </summary>
public string ShopName { get; set; }
/// <summary>
/// 商铺一句话描述
/// </summary>
public string ShopDescription { get; set; }
/// <summary>
/// 商铺图标
/// </summary>
public string ShopIconUrl { get; set; }
/// <summary>
/// 通用公告
/// </summary>
public string Notice { get; set; }
/// <summary>
/// 寄件人姓名
/// </summary>
public string DeliverName { get; set; }
/// <summary>
/// 寄件人地址
/// </summary>
public string DeliverAddress { get; set; }
public void CreateOrUpdate(string shopName, string shopDescription, string shopIconUrl, string notice, string deliverName, string deliverAddress)
{
this.ShopName = shopName;
this.ShopDescription = shopDescription;
this.ShopIconUrl = shopIconUrl;
this.Notice = notice;
this.DeliverName = deliverName;
this.DeliverAddress = deliverAddress;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
