新增舱位标签实体类

usertest
jianghaiqing 4 months ago
parent f14ee93518
commit 5870172a0b

@ -1,12 +1,40 @@
using System;
using DS.Module.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity.BookingLabel
namespace DS.WMS.Core.Op.Entity
{
internal class BookingLabel
/// <summary>
/// 订舱标签表
/// </summary>
[SqlSugar.SugarTable("op_sea_booking_label", "订舱标签表")]
public class BookingLabel : BaseModelV2<long>
{
/// <summary>
/// 标签名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "标签名称", IsNullable = true)]
public string Name { get; set; }
/// <summary>
/// 标签使用范围 1-舱位管理台账
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "标签使用范围 1-舱位管理台账", IsNullable = true)]
public int Scope { get; set; }
/// <summary>
/// 颜色
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "颜色",Length = 20, IsNullable = true)]
public string Color { get; set; }
/// <summary>
/// 正则匹配
/// </summary>
[SqlSugar.SugarColumn(ColumnDataType = "text", ColumnDescription = "正则匹配", IsNullable = true)]
public string RegexPatternTxt { get; set; }
}
}

@ -1,12 +1,28 @@
using System;
using DS.Module.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity.BookingLabel
namespace DS.WMS.Core.Op.Entity
{
internal class BookingLabelAllocation
/// <summary>
/// 订舱标签关联表
/// </summary>
[SqlSugar.SugarTable("booking_label_allocation", "订舱标签关联表")]
public class BookingLabelAllocation : BaseModelV2<long>
{
/// <summary>
/// 标签主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "标签主键", IsNullable = false)]
public long LabelId { get; set; }
/// <summary>
/// 业务主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "业务主键", IsNullable = false)]
public long BusinessId { get; set; }
}
}

Loading…
Cancel
Save