546 lines
16 KiB
C#
546 lines
16 KiB
C#
using System;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using SqlSugar;
|
||
|
||
namespace MyCode.Project.Domain.Model
|
||
{
|
||
///<summary>
|
||
///出库单主表
|
||
///</summary>
|
||
[SugarTable("StorageGoodsDocOutHead")]
|
||
public partial class StorageGoodsDocOutHead
|
||
{
|
||
public StorageGoodsDocOutHead(){
|
||
|
||
|
||
}
|
||
/// <summary>
|
||
/// Desc:出库单ID
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public long? RecId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:出库单号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string GoodsdocNo {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:上游单据号(关联单号)
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string BillNo {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:出库时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string InOutDate {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:创建时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string GmtCreate {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:出入库类型(201-销售出库 202调拨出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 299可用库存修正 231成本调整出库)
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public int? Inouttype {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:出入库类型名称(201-销售出库 202调拨出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 299可用库存修正 231成本调整出库)
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string InouttypeName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:往来单位名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string VendCustomerName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:币种编号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string CurrencyCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:币种汇率
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public decimal? CurrencyRate {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:业务员名字
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string UserName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:仓库编号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string WarehouseCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:仓库名字
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string WarehouseName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:备注
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Comment {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收货备注
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Memo {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物流公司
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string LogisticName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物流单号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string LogisticNo {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:公司id
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public long? CompanyId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:公司名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string CompanyName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物流类型1-普通快递 2-上门自提 3-门店配送5-无需配送 6-线下配送
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string LogisticType {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物流公司编码
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string LogisticCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:出库原因
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string InOutReason {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:来源单号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SourceBillNo {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:渠道ID
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public long? ChannelId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:渠道编号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ChannelCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:渠道名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ChannelName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:红冲状态:1蓝单(未红冲);2被冲蓝单;9红冲单
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public byte? RedStatus {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段1
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field1 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段2
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field2 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段3
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field3 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段4
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field4 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段5
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field5 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:财务状态:1:未成本计算;11部分成本计算;21:已成本计算;25已财务记账;31不成本计算
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public byte? FinanceBillStatus {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:往来单位的id
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string VendCustomerId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人部门id
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public long? ApplyDepartId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人部门名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ApplyDepartName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:外部单号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string OutBillNo {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:最近修改时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string GmtModified {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人部门编号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string DepartCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人公司名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ApplyCompanyName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人公司编号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ApplyCompanyCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人公司id
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public long? ApplyCompanyId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人id
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public long? ApplyUserId {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:申请人名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ApplyUserName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:公司编号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string CompanyCode {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件公司名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendCompanyName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Send {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人电话
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendTel {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人手机号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendPhone {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人邮箱
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendEmail {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人国家
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendCountryName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人省
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendProvinceName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人市
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendCityName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人镇,区
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendTownName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人街道
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendStreetName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:发件人详细地址
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string SendAddress {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件公司名称
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveCompanyName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Receive {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人电话
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveTel {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人手机号
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceivePhone {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人邮箱
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveEmail {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人国家
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveCountryName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人省
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveProvinceName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人市
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveCityName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人镇,区
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveTownName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人街道
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveStreetName {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:收件人详细地址
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string ReceiveAddress {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段6
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field6 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段7
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field7 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段8
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field8 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段9
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field9 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:自定义字段10
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string Field10 {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:创建时间
|
||
/// Default:DateTime.Now
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public DateTime CreateTime {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:更新时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public DateTime? UpdateTime {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
[SugarColumn(IsPrimaryKey=true)]
|
||
public Guid Id {get;set;}
|
||
|
||
}
|
||
}
|