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.

198 lines
5.1 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "op_sean", DisableSyncStructure = true)]
public partial class OpSean {
/// <summary>
/// 会计期间:统计信息的,可以修改日期
/// </summary>
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; }
/// <summary>
/// 编号随机newid()生成)
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
public string BSNO { get; set; }
/// <summary>
/// 业务状态,默认False,锁定后不能做任何修改
/// </summary>
[JsonProperty]
public bool? BSSTATUS { get; set; }
/// <summary>
/// 船公司:自crm_client中属性为船公司的值
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CARRIER { get; set; }
/// <summary>
/// 收货人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CONSIGNEE { get; set; }
/// <summary>
/// 分公司代码:默认登录人的公司ID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 委托编号:规则生成,在规则表中添加对应的数据
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string CUSTNO { get; set; }
/// <summary>
/// 委托单位:从crm_client属性为委托单位的数据里边调入
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CUSTOMERNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string DELIVERADDRESS { get; set; } = "";
/// <summary>
/// 到港日期
/// </summary>
[JsonProperty]
public DateTime? ETA { get; set; }
/// <summary>
/// 开船日期
/// </summary>
[JsonProperty]
public DateTime? ETD { get; set; }
/// <summary>
/// 费用状态,锁定及未锁定默认False锁定后不能修改费用信息
/// </summary>
[JsonProperty]
public bool? FEESTATUS { get; set; } = false;
/// <summary>
/// 品名:来自code_goods
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string GOODSNAME { get; set; }
/// <summary>
/// 毛重:默认为0
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? GROSSWEIGHT { get; set; } = 0M;
/// <summary>
/// 毛重单位
/// </summary>
[JsonProperty, Column(DbType = "varchar(15)")]
public string GROSSWEIGHTUNIT { get; set; }
/// <summary>
/// 录入人:默认登录人
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string INPUTBY { get; set; }
/// <summary>
/// 录入时间默认getdate()
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? INPUTTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string LOADADDRESS { get; set; } = "";
/// <summary>
/// 运单号
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string MBLNO { get; set; }
/// <summary>
/// 尺码:默认为0
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? MEASUREMENT { get; set; } = 0M;
/// <summary>
/// 尺码单位
/// </summary>
[JsonProperty, Column(DbType = "varchar(15)")]
public string MEASUREMENTUNIT { get; set; }
/// <summary>
/// 操作员:自sys_empolyee中属性为操作员的值
/// </summary>
[JsonProperty, Column(DbType = "varchar(15)")]
public string OP { get; set; }
/// <summary>
/// 委托方式1直接录入2计划引入
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string ORDERTYPE { get; set; }
/// <summary>
/// 卸货港:自选数据来自code_portload
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 装货港:自选数据来自code_portload
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTLOAD { get; set; }
/// <summary>
/// 揽货人:自sys_empolyee中属性为销售的值
/// </summary>
[JsonProperty, Column(DbType = "varchar(15)")]
public string SALE { get; set; }
/// <summary>
/// 发货人
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string SHIPPER { get; set; }
/// <summary>
/// 修改信息人
/// </summary>
[JsonProperty, Column(DbType = "varchar(15)")]
public string UPDATEPPER { get; set; }
/// <summary>
/// 修改信息时间
/// </summary>
[JsonProperty]
public DateTime? UPDATETIME { get; set; }
/// <summary>
/// 船名:code_vessel允许自己录入和选择
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string VESSEL { get; set; }
/// <summary>
/// 航次
/// </summary>
[JsonProperty, Column(DbType = "varchar(12)")]
public string VOYNO { get; set; }
}
}