You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.3 KiB
C#

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