self_mall_api/ARW.Model/Dto/Business/CustomerServices/CustomerServiceDto.cs
2023-10-21 19:18:58 +08:00

67 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.CustomerServices;
using Org.BouncyCastle.Asn1.Cms;
namespace ARW.Model.Dto.Business.CustomerServices
{
/// <summary>
/// 客服输入对象
///
/// @author lwh
/// @date 2023-10-21
/// </summary>
public class CustomerServiceDto
{
public int CustomerServiceId { get; set; }
public long CustomerServiceGuid { get; set; }
[Required(ErrorMessage = "名称不能为空")]
public string CustomerServiceName { get; set; }
[Required(ErrorMessage = "电话不能为空")]
public string CustomerServicePhone { get; set; }
[Required(ErrorMessage = "图片不能为空")]
public string CustomerServiceImg { get; set; }
[Required(ErrorMessage = "工作时间-上班时间不能为空")]
public string WorkingHoursBeginTime { get; set; }
[Required(ErrorMessage = "工作时间-下班时间不能为空")]
public string WorkingHoursEndTime { get; set; }
[Required(ErrorMessage = "排序不能为空")]
public int CustomerServiceSort { get; set; }
}
/// <summary>
/// 客服查询对象
///
/// @author lwh
/// @date 2023-10-21
/// </summary>
public class CustomerServiceQueryDto : PagerInfo
{
public string CustomerServiceName { get; set; }
public string CustomerServicePhone { get; set; }
public string ids { get; set; }
}
}