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.

70 lines
2.5 KiB
C#

using DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 订舱货物状态
/// </summary>
[SqlSugar.SugarTable("op_booking_goods_status", "订舱货物状态")]
public class BookingGoodsStatus : BaseModel<long>
{
/// <summary>
/// 业务id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "业务id", IsNullable = false)]
public long? BusinessId { get; set; }
/// <summary>
/// 货物状态配置ID 雪花id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "货物状态id", IsNullable = false)]
public long? ConfigId { get; set; }
/// <summary>
/// 状态代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "状态代码", IsNullable = true, Length = 100)]
public string StatusCode { get; set; }
/// <summary>
/// 状态名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "状态名称", IsNullable = true, Length = 100)]
public string StatusName { get; set; }
/// <summary>
/// 状态时间
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "状态时间", IsNullable = true)]
public DateTime? StatusTime { get; set; }
/// <summary>
/// 完成时间
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "状态时间", IsNullable = true)]
public DateTime? FinishTime { get; set; }
/// <summary>
/// 完成人
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "完成人", IsNullable = true, Length = 100)]
public string FinishUserName { get; set; }
/// <summary>
/// 完成人ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "完成人ID", IsNullable = true)]
public long? FinishBy { get; set; }
/// <summary>
/// 是否公开
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "是否公开", IsNullable = true,DefaultValue ="0")]
public bool IsPublic { get; set; }
/// <summary>
/// 附加数据
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "附加数据", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string ExtData { get; set; }
}
}