New file |
| | |
| | | // Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。 |
| | | // |
| | | // 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。 |
| | | // |
| | | // 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任! |
| | | |
| | | using Admin.NET.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace FZCZTB.NET.MD.CutomerMd.Extend; |
| | | /// <summary> |
| | | /// 用户扩展表 企业资料 |
| | | /// </summary> |
| | | [SugarTable("FBS_CusExtend", "企业资料")] |
| | | [IncreTable] |
| | | public class FBS_CusExtend: EntityBaseTenant |
| | | { |
| | | /// <summary> |
| | | /// 用户ID |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "用户ID" )] |
| | | [Required(ErrorMessage = "用户ID 必填")] |
| | | public long CustomerId { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 企业类型 从企业类型中选择 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "企业类型 ", Length = 255)] |
| | | [Required(ErrorMessage = "企业类型")] |
| | | public string EnterpriseType { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 交易主体 代码 同角色代码 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "交易主体代码为必填项")] |
| | | [SugarColumn(ColumnDescription = "交易主体code")] |
| | | public string TransactionCode { get; set; } |
| | | /// <summary> |
| | | /// 营业执照文件路径 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "营业执照文件必传")] |
| | | [SugarColumn(ColumnDescription = "营业执照文件路径")] |
| | | public string BusinessLicense { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业名称 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "企业名称为必填项")] |
| | | [SugarColumn(ColumnDescription = "企业名称")] |
| | | public string EnterpriseName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 统一社会信用代码 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "统一社会信用代码为必填项")] |
| | | [SugarColumn(ColumnDescription = "统一社会信用代码")] |
| | | public string UnifiedSocialCreditCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 注册资金(单位:万元 ) |
| | | /// </summary> |
| | | [Required(ErrorMessage = "注册资金为必填项")] |
| | | [SugarColumn(ColumnDescription = "注册资金")] |
| | | public decimal RegisteredCapital { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 法定代表人姓名 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "法定代表人姓名为必填项")] |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名")] |
| | | public string LegalRepresentativeName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 法定代表人身份证文件路径 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "法定代表人身份证文件路径毕传")] |
| | | [SugarColumn(ColumnDescription = "法定代表人身份证文件路径")] |
| | | public string LegalRepresentativeIdCard { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 法定代表人身份证号码 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "法定代表人身份证号码为必填项")] |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名")] |
| | | public string LegalRepresentativeIdNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 法定代表人联系电话 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "法定代表人联系电话为必填项")] |
| | | [Phone(ErrorMessage = "联系电话格式不正确")] |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名")] |
| | | public string LegalRepresentativePhone { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业住所(下拉选择,需结合实际可选值,先字符串接收 ) |
| | | /// </summary> |
| | | [Required(ErrorMessage = "企业住所为必填项")] |
| | | [SugarColumn(ColumnDescription = "企业住所")] |
| | | public string Residence { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业联系电话 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "企业联系电话为必填项")] |
| | | [Phone(ErrorMessage = "联系电话格式不正确")] |
| | | [SugarColumn(ColumnDescription = "企业联系电话")] |
| | | public string EnterprisePhone { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业成立时间 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "成立时间为必填项")] |
| | | [SugarColumn(ColumnDescription = "企业成立时间")] |
| | | public DateTime EstablishmentTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业主营业务 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "主营业务为必填项")] |
| | | [SugarColumn(ColumnDescription = "企业主营业务")] |
| | | public string MainBusiness { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业邮箱 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "企业邮箱为必填项")] |
| | | [EmailAddress(ErrorMessage = "邮箱格式不正确")] |
| | | [SugarColumn(ColumnDescription = "企业邮箱")] |
| | | public string EnterpriseEmail { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 业务经办人姓名 |
| | | /// </summary> |
| | | |
| | | [SugarColumn(ColumnDescription = "业务经办人姓名", IsNullable = true)] |
| | | public string OperatorName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 业务经办人身份证文件路径或标识(上传后存储信息) |
| | | /// </summary> |
| | | |
| | | [SugarColumn(ColumnDescription = "业务经办人身份证文件路径或标识", IsNullable = true)] |
| | | public string OperatorIdCard { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 业务经办人身份证号码 |
| | | /// </summary> |
| | | |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名", IsNullable = true)] |
| | | public string OperatorIdNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 业务经办人联系电话 |
| | | /// </summary> |
| | | |
| | | [Phone(ErrorMessage = "联系电话格式不正确")] |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名",IsNullable =true)] |
| | | public string OperatorPhone { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业开户行 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "开户行为必填项")] |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名")] |
| | | public string BankName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业银行账号 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "银行账号为必填项")] |
| | | [SugarColumn(ColumnDescription = "法定代表人姓名")] |
| | | public string BankAccount { get; set; } |
| | | /// <summary> |
| | | /// 审核步骤 |
| | | /// </summary> |
| | | |
| | | [SugarColumn(ColumnDescription = "审核步骤")] |
| | | public CusExtendStep steps { set; get; } = CusExtendStep.UNExamine; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 角色资料审核进度 |
| | | /// </summary> |
| | | public enum CusExtendStep |
| | | { |
| | | /// <summary> |
| | | /// 未审核 |
| | | /// </summary> |
| | | UNExamine=0, |
| | | /// <summary> |
| | | /// 更改 |
| | | /// </summary> |
| | | Change, |
| | | |
| | | /// <summary> |
| | | /// 通过 |
| | | /// </summary> |
| | | Pass, |
| | | /// <summary> |
| | | /// 未通过 |
| | | /// </summary> |
| | | UnPass |
| | | |
| | | |
| | | |
| | | } |