| | |
| | | using System; |
| | | using Furion.DatabaseAccessor; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | |
| | | /// <summary> |
| | | /// 用户银行卡信息 |
| | | /// </summary> |
| | | public class UserBankCard : CommonEntity |
| | | public class UserBankCard : CommonEntity<MasterDbContextLocator> |
| | | { |
| | | /// <summary> |
| | | /// 用户信息Id |
| | |
| | | public User User { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 通道 |
| | | /// </summary> |
| | | public EnumEnterpriseWalletAccess Access { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 银行卡号 |
| | | /// </summary> |
| | | [MaxLength(32)] |
| | | [Required] |
| | | public string Code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 开户行 |
| | | /// 所属银行 |
| | | /// </summary> |
| | | [MaxLength(128)] |
| | | [Required] |
| | | public string Bank { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所属支行 |
| | | /// </summary> |
| | | public string BankBranch { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 银行预留手机号 |
| | | /// </summary> |
| | | [MaxLength(11)] |
| | | [Required] |
| | | public string PhoneNumber { get; set; } |
| | | } |
| | | } |