|
|
|
|
using GDZZ.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace GDZZ.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司属性输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CompanyInput : PageInputBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual long TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司Logo
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string logo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司简介
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Info { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司详情图片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CompanyInfoUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public CompanyEnum ApprovalStatus { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Approver { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ApprovalTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执照图片地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LicenseUrl { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机构代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Phone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AddCompanyInput : CompanyInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 验证码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Checking { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DeleteCompanyInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class UpdateCompanyInput : CompanyInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class QueryeCompanyInput : DeleteCompanyInput
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|