using Dlhis.Entity.Canteen.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
namespace Dlhis.Basic.BusinessPlace.Response;
public class BusinessPlaceResponse
{
public long Id { get; set; }
///
/// 代号
///
public Guid Code { get; set; }
///
/// 自定义代号
///
public string CustomCode { get; set; }
///
/// 营业点名称
///
public string Name { get; set; }
///
/// 状态,停用/启用
///
public CanteenBusinessPlaceStatusEnumType Status { get; set; }
public string StatusDesc => Status.GetDescription();
///
/// 来源,自营/合作/外包
///
public CanteenBusinessPlaceSourceEnumType Source { get; set; }
public string SourceDesc => Source.GetDescription();
///
/// 分类,超市/餐厅/食堂
///
public CanteenBusinessPlaceCatalogEnumType Catalog { get; set; }
public string CatalogDesc => Catalog.GetDescription();
}