Zxd.Core/code/Zxd.Crm.Domain/Dto/DeptmentDto.cs

66 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zxd.Core.Shared.Dto;
namespace Zxd.Crm.Domain.Dto
{
public class DeptmentDto
{
public int id { get; set; }
public int? groupId { get; set; }
public string? title { get; set; }
public string? code { get; set; }
public string? appid { get; set; }
public int departmentId { get; set; }
public bool? isDept { get; set; }
public string? companyCode { get; set; }
public List<DeptmentCampainDto>? deptmentCampains { get; set; }
}
public class DeptmentCampainDto
{
public int startCampainId { get; set; }
public int endCampainId { get; set; }
}
/// <summary>
/// redis 里面的值
/// </summary>
public class RedisDeptmentDto
{
public int Id { get; set; }
public int? GroupId { get; set; }
public string? Title { get; set; }
public string? Code { get; set; }
public string? Appid { get; set; }
public int DepartmentId { get; set; }
public bool? IsDept { get; set; }
public string? CompanyCode { get; set; }
public int? SortNo { get; set; }
public List<RedisDeptmentCampainDto>? DeptmentCampains { get; set; }
}
public class RedisDeptmentCampainDto
{
public int StartCampainId { get; set; }
public int EndCampainId { get; set; }
}
}