using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace DataEntity
|
{
|
/// <summary>
|
/// 台面模板关联板位类
|
/// </summary>
|
public class TabletopRelLattice:IEntity
|
{
|
private string _tabletopid { get; set; } = "";
|
/// <summary>
|
/// 模板Id
|
/// </summary>
|
[SugarColumn(ColumnName = "tabletopid", IsPrimaryKey = true)]
|
[Description("模板Id")]
|
public string tabletopid
|
{
|
get { return _tabletopid; }
|
set
|
{
|
if (tabletopid == value) return;
|
_tabletopid = value;
|
OnPropertyChanged(nameof(tabletopid));
|
}
|
}
|
|
private int _lattice_id { get; set; } = 0;
|
/// <summary>
|
/// 台面板位Id
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_id")]
|
[Description("台面板位Id")]
|
public int lattice_id
|
{
|
get { return _lattice_id; }
|
set
|
{
|
if (lattice_id == value) return;
|
_lattice_id = value;
|
OnPropertyChanged(nameof(lattice_id));
|
}
|
}
|
|
private double _lattice_pixel_x { get; set; } = 0;
|
/// <summary>
|
/// 板位左上角在台面上的像素坐标x
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_pixel_x")]
|
[Description("板位左上角在台面上的像素坐标x")]
|
public double lattice_pixel_x
|
{
|
get { return _lattice_pixel_x; }
|
set
|
{
|
if (lattice_pixel_x == value) return;
|
_lattice_pixel_x = value;
|
OnPropertyChanged(nameof(lattice_pixel_x));
|
}
|
}
|
|
private double _lattice_pixel_y { get; set; } = 0;
|
/// <summary>
|
/// 板位左上角在台面上的像素坐标y
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_pixel_y")]
|
[Description("板位左上角在台面上的像素坐标y")]
|
public double lattice_pixel_y
|
{
|
get { return _lattice_pixel_y; }
|
set
|
{
|
if (lattice_pixel_y == value) return;
|
_lattice_pixel_y = value;
|
OnPropertyChanged(nameof(lattice_pixel_y));
|
}
|
}
|
|
private string _labware_id { get; set; } = "";
|
/// <summary>
|
/// 耗材Id
|
/// </summary>
|
[SugarColumn(ColumnName = "labware_id")]
|
[Description("耗材Id")]
|
public string labware_id
|
{
|
get { return _labware_id; }
|
set
|
{
|
if (labware_id == value) return; // 避免重复设置相同的值
|
_labware_id = value;
|
OnPropertyChanged(nameof(labware_id));
|
}
|
}
|
|
private int _isbaselattice { get; set; } = 0;
|
/// <summary>
|
/// 是否是构建台面用的板位:0: 不是;1:是
|
/// </summary>
|
[SugarColumn(ColumnName = "isbaselattice")]
|
[Description("是否是构建台面用的板位:0: 不是;1:是")]
|
public int isbaselattice
|
{
|
get { return _isbaselattice; }
|
set
|
{
|
if (isbaselattice == value) return;
|
_isbaselattice = value;
|
OnPropertyChanged(nameof(isbaselattice));
|
}
|
}
|
}
|
}
|