using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Info.Entity;
///
/// 往来单位-银行信息
///
[SqlSugar.SugarTable("info_client_bank", "往来单位-银行信息")]
public class InfoClientBank : BaseOrgModel
{
///
/// 往来单位id
///
public long ClientId { get; set; }
///
/// Desc:代码
///
[SugarColumn(ColumnDescription = "代码", Length = 20)]
public string CodeName { get; set; }
///
/// Desc:币别
///
[SugarColumn(ColumnDescription = "币别", Length = 20)]
public string Currency { get; set; }
///
/// Desc:银行名称
///
[SugarColumn(ColumnDescription = "银行名称", Length = 100, IsNullable = true)]
public string BankName { get; set; }
///
/// Desc:银行账户
///
[SugarColumn(ColumnDescription = "银行账户", Length = 40, IsNullable = true)]
public string Account { get; set; }
///
/// Desc:银行地址
///
[SugarColumn(ColumnDescription = "银行地址", Length = 50, IsNullable = true)]
public string BankAddress { get; set; }
///
/// Desc:财务软件代码
///
[SugarColumn(ColumnDescription = "财务软件代码", Length = 50, IsNullable = true)]
public string FinanceSoftCode { get; set; }
///
/// Desc:科目代码
///
[SugarColumn(ColumnDescription = "科目代码", Length = 20, IsNullable = true)]
public string SubjectCode { get; set; }
///
/// Desc:户头名称
///
[SugarColumn(ColumnDescription = "户头名称", Length = 100, IsNullable = true)]
public string AccountName { get; set; }
///
/// Desc:代理银行名称
///
[SugarColumn(ColumnDescription = "代理银行名称", Length = 20, IsNullable = true)]
public string BankAgentName { get; set; }
///
/// Desc:银行账号
///
[SugarColumn(ColumnDescription = "银行账号", Length = 20, IsNullable = true)]
public string BankAccountNo { get; set; }
///
/// Desc: 银行SWIFT
///
[SugarColumn(ColumnDescription = "银行SWIFT", Length = 20, IsNullable = true)]
public string SWIFT { get; set; }
///
/// Desc: 国家Id
///
[SugarColumn(ColumnDescription = "国家Id", IsNullable = true)]
public long? CountryId { get; set; }
///
/// Desc:是否开票默认账户
///
[SugarColumn(ColumnDescription = "是否开票默认账户")]
public bool? IsInvoiceDefault { get; set; } = false;
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}