| | |
| | | using System; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | |
| | | public class SaveEnterpriseCommand : SaveDataCommand |
| | | { |
| | | /// <summary> |
| | | /// 企业认证 |
| | | /// 企业全称 |
| | | /// </summary> |
| | | [Required] |
| | | public SaveEnterpriseCommandAuth EnterpriseAuth { get; set; } |
| | | [MaxLength(128)] |
| | | public string EnterpriseName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 统一社会信用代码 |
| | | /// </summary> |
| | | [Required] |
| | | [MaxLength(18)] |
| | | public string SocietyCreditCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 法人姓名 |
| | | /// </summary> |
| | | [MaxLength(32)] |
| | | public string LegalPerson { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 法人身份证号 |
| | | /// </summary> |
| | | [MaxLength(18)] |
| | | public string LegalIdentity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业认证 |
| | | /// </summary> |
| | | [Newtonsoft.Json.JsonIgnore, Swashbuckle.AspNetCore.Annotations.SwaggerIgnore] |
| | | public SaveEnterpriseCommandAuth EnterpriseAuth => new SaveEnterpriseCommandAuth |
| | | { |
| | | EnterpriseName = EnterpriseName, |
| | | SocietyCreditCode = SocietyCreditCode, |
| | | LegalPerson = LegalPerson, |
| | | LegalIdentity = LegalIdentity, |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 所在省份Id |
| | |
| | | public Guid? ProvinceId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所在省份 |
| | | /// </summary> |
| | | public DictionaryData Province { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所在城市Id |
| | | /// </summary> |
| | | public Guid? CityId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所在城市 |
| | | /// </summary> |
| | | public DictionaryData City { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所属行业Id |
| | | /// </summary> |
| | | public Guid? IndustryTypeId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所属行业 |
| | | /// </summary> |
| | | public DictionaryData IndustryType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 主营业务 |