model and Dto
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Company.CompanyContentInfo
|
||||
{
|
||||
public class ADD_CompanyContentInfoDto
|
||||
{
|
||||
public string Content { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Company.CompanyContentInfo
|
||||
{
|
||||
public class ReadANDUpdate_CompanyContentInfoDto
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Content { get; set; }
|
||||
}
|
||||
}
|
20
Common/Dtos/Company/ReadANDUpdate_CompanyDto.cs
Normal file
20
Common/Dtos/Company/ReadANDUpdate_CompanyDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Company
|
||||
{
|
||||
public class ReadANDUpdate_CompanyDto
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string FullName { get; set; }
|
||||
public string? FullNameManager { get; set; }
|
||||
public string? WebSite { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public byte[]? img { get; set; }
|
||||
public bool Available { get; set; }
|
||||
public bool allowBot { get; set; }
|
||||
}
|
||||
}
|
16
Common/Dtos/Company/RegisterCompanyDto.cs
Normal file
16
Common/Dtos/Company/RegisterCompanyDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Company
|
||||
{
|
||||
public class RegisterCompanyDto
|
||||
{
|
||||
public string Mobile { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string FullName { get; set; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user