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.
151 lines
4.6 KiB
C#
151 lines
4.6 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 = 50)]
|
|
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 = 100, IsNullable = true)]
|
|
public string Account { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:银行地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "银行地址", Length = 500, 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 = 100, 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; }
|
|
|
|
/// <summary>
|
|
/// 发票抬头
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "发票抬头", Length = 200, IsNullable = false)]
|
|
public string InvoiceHeader { get; set; } = string.Empty;
|
|
/// <summary>
|
|
/// 开票税号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "开票税号", Length = 200, IsNullable = true)]
|
|
public string? InvoiceTaxNo { get; set; }
|
|
/// <summary>
|
|
/// 开票地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "开票地址", Length = 200, IsNullable = true)]
|
|
public string? InvoiceAddress { get; set; }
|
|
/// <summary>
|
|
/// 开票电话
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "开票电话", Length = 200, IsNullable = true)]
|
|
public string? InvoiceTel { get; set; }
|
|
/// <summary>
|
|
/// 寄发票地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "寄发票地址", Length = 200, IsNullable = true)]
|
|
public string? SendInvoiceAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 银行国际代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "银行国际代码", Length = 150, IsNullable = true)]
|
|
public string? SwiftCode { get; set; }
|
|
///// <summary>
|
|
///// 发票抬头
|
|
///// </summary>
|
|
//[Navigate(NavigateType.OneToMany, nameof(InvoiceHeader.RelativeId))]
|
|
//public List<InvoiceHeader>? InvoiceHeaders { get; set; }
|
|
} |