/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 银行卡信息
///
[SugarTable("CoreCmsUserBankCard",TableDescription = "银行卡信息")]
public partial class CoreCmsUserBankCard
{
///
/// 银行卡信息
///
public CoreCmsUserBankCard()
{
}
///
/// id
///
[Display(Name = "id")]
[SugarColumn(ColumnDescription = "id", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 用户ID
///
[Display(Name = "用户ID")]
[SugarColumn(ColumnDescription = "用户ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
///
/// 银行名称
///
[Display(Name = "银行名称")]
[SugarColumn(ColumnDescription = "银行名称", IsNullable = true)]
[StringLength(60, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String bankName { get; set; }
///
/// 银行缩写
///
[Display(Name = "银行缩写")]
[SugarColumn(ColumnDescription = "银行缩写", IsNullable = true)]
[StringLength(12, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String bankCode { get; set; }
///
/// 账号地区ID
///
[Display(Name = "账号地区ID")]
[SugarColumn(ColumnDescription = "账号地区ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 bankAreaId { get; set; }
///
/// 开户行
///
[Display(Name = "开户行")]
[SugarColumn(ColumnDescription = "开户行", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String accountBank { get; set; }
///
/// 账户名
///
[Display(Name = "账户名")]
[SugarColumn(ColumnDescription = "账户名", IsNullable = true)]
[StringLength(60, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String accountName { get; set; }
///
/// 卡号
///
[Display(Name = "卡号")]
[SugarColumn(ColumnDescription = "卡号", IsNullable = true)]
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String cardNumber { get; set; }
///
/// 银行卡类型
///
[Display(Name = "银行卡类型")]
[SugarColumn(ColumnDescription = "银行卡类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 cardType { get; set; }
///
/// 默认卡
///
[Display(Name = "默认卡")]
[SugarColumn(ColumnDescription = "默认卡")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isdefault { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
///
/// 删除时间
///
[Display(Name = "删除时间")]
[SugarColumn(ColumnDescription = "删除时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}