feat(hjgl): 完善焊接任务与质量管理流程
This commit is contained in:
@@ -0,0 +1,165 @@
|
||||
using System;
|
||||
using System.Data.Linq.Mapping;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 业务扩展字段独立于自动生成模型,避免后续刷新模型时丢失手工映射。
|
||||
/// </summary>
|
||||
public partial class HJGL_WeldTask
|
||||
{
|
||||
private string _BusinessTeamGroupId;
|
||||
|
||||
[Column(Name = "TeamGroupId", Storage = "_BusinessTeamGroupId", DbType = "NVarChar(50)")]
|
||||
public string TeamGroupId
|
||||
{
|
||||
get { return _BusinessTeamGroupId; }
|
||||
set
|
||||
{
|
||||
if (_BusinessTeamGroupId == value) return;
|
||||
SendPropertyChanging();
|
||||
_BusinessTeamGroupId = value;
|
||||
SendPropertyChanged("TeamGroupId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_AntiCorrosionTrust
|
||||
{
|
||||
private string _BusinessWeldTaskCode;
|
||||
private string _BusinessHotProessTrustId;
|
||||
|
||||
[Column(Name = "WeldTaskCode", Storage = "_BusinessWeldTaskCode", DbType = "NVarChar(200)")]
|
||||
public string WeldTaskCode
|
||||
{
|
||||
get { return _BusinessWeldTaskCode; }
|
||||
set
|
||||
{
|
||||
if (_BusinessWeldTaskCode == value) return;
|
||||
SendPropertyChanging();
|
||||
_BusinessWeldTaskCode = value;
|
||||
SendPropertyChanged("WeldTaskCode");
|
||||
}
|
||||
}
|
||||
|
||||
[Column(Name = "HotProessTrustId", Storage = "_BusinessHotProessTrustId", DbType = "NVarChar(50)")]
|
||||
public string HotProessTrustId
|
||||
{
|
||||
get { return _BusinessHotProessTrustId; }
|
||||
set
|
||||
{
|
||||
if (_BusinessHotProessTrustId == value) return;
|
||||
SendPropertyChanging();
|
||||
_BusinessHotProessTrustId = value;
|
||||
SendPropertyChanged("HotProessTrustId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_AntiCorrosionTrustDetail
|
||||
{
|
||||
private bool _BusinessIsPostWeld;
|
||||
|
||||
[Column(Name = "IsPostWeld", Storage = "_BusinessIsPostWeld", DbType = "Bit NOT NULL", CanBeNull = false)]
|
||||
public bool IsPostWeld
|
||||
{
|
||||
get { return _BusinessIsPostWeld; }
|
||||
set
|
||||
{
|
||||
if (_BusinessIsPostWeld == value) return;
|
||||
SendPropertyChanging();
|
||||
_BusinessIsPostWeld = value;
|
||||
SendPropertyChanged("IsPostWeld");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class HJGL_PreWeldCuttingCheck
|
||||
{
|
||||
private string _BusinessGrooveProcessType;
|
||||
|
||||
[Column(Name = "GrooveProcessType", Storage = "_BusinessGrooveProcessType", DbType = "NVarChar(100)")]
|
||||
public string GrooveProcessType
|
||||
{
|
||||
get { return _BusinessGrooveProcessType; }
|
||||
set
|
||||
{
|
||||
if (_BusinessGrooveProcessType == value) return;
|
||||
SendPropertyChanging();
|
||||
_BusinessGrooveProcessType = value;
|
||||
SendPropertyChanged("GrooveProcessType");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class HJGL_WeldAppearanceCheck
|
||||
{
|
||||
private decimal? _BusinessWeldReinforcement;
|
||||
private decimal? _BusinessWeldHeight;
|
||||
private decimal? _BusinessWeldWidth;
|
||||
private string _BusinessSurfaceDefect;
|
||||
private decimal? _BusinessPreheatTemperature;
|
||||
private decimal? _BusinessInterpassTemperature;
|
||||
private string _BusinessCheckCode;
|
||||
|
||||
[Column(Name = "WeldReinforcement", Storage = "_BusinessWeldReinforcement", DbType = "Decimal(18,2)")]
|
||||
public decimal? WeldReinforcement { get { return _BusinessWeldReinforcement; } set { SetBusinessValue(ref _BusinessWeldReinforcement, value, "WeldReinforcement"); } }
|
||||
[Column(Name = "WeldHeight", Storage = "_BusinessWeldHeight", DbType = "Decimal(18,2)")]
|
||||
public decimal? WeldHeight { get { return _BusinessWeldHeight; } set { SetBusinessValue(ref _BusinessWeldHeight, value, "WeldHeight"); } }
|
||||
[Column(Name = "WeldWidth", Storage = "_BusinessWeldWidth", DbType = "Decimal(18,2)")]
|
||||
public decimal? WeldWidth { get { return _BusinessWeldWidth; } set { SetBusinessValue(ref _BusinessWeldWidth, value, "WeldWidth"); } }
|
||||
[Column(Name = "SurfaceDefect", Storage = "_BusinessSurfaceDefect", DbType = "NVarChar(500)")]
|
||||
public string SurfaceDefect { get { return _BusinessSurfaceDefect; } set { SetBusinessValue(ref _BusinessSurfaceDefect, value, "SurfaceDefect"); } }
|
||||
[Column(Name = "PreheatTemperature", Storage = "_BusinessPreheatTemperature", DbType = "Decimal(18,2)")]
|
||||
public decimal? PreheatTemperature { get { return _BusinessPreheatTemperature; } set { SetBusinessValue(ref _BusinessPreheatTemperature, value, "PreheatTemperature"); } }
|
||||
[Column(Name = "InterpassTemperature", Storage = "_BusinessInterpassTemperature", DbType = "Decimal(18,2)")]
|
||||
public decimal? InterpassTemperature { get { return _BusinessInterpassTemperature; } set { SetBusinessValue(ref _BusinessInterpassTemperature, value, "InterpassTemperature"); } }
|
||||
[Column(Name = "CheckCode", Storage = "_BusinessCheckCode", DbType = "NVarChar(200)")]
|
||||
public string CheckCode { get { return _BusinessCheckCode; } set { SetBusinessValue(ref _BusinessCheckCode, value, "CheckCode"); } }
|
||||
|
||||
private void SetBusinessValue<T>(ref T field, T value, string propertyName)
|
||||
{
|
||||
if (Equals(field, value)) return;
|
||||
SendPropertyChanging();
|
||||
field = value;
|
||||
SendPropertyChanged(propertyName);
|
||||
}
|
||||
}
|
||||
|
||||
public partial class HJGL_WeldingDailyTempDetail
|
||||
{
|
||||
private string _BusinessTeamAuditMan;
|
||||
private DateTime? _BusinessTeamAuditDate;
|
||||
private string _BusinessProfessionalAuditMan;
|
||||
private DateTime? _BusinessProfessionalAuditDate;
|
||||
private string _BusinessWeldingMethodId;
|
||||
private string _BusinessWeldTypeId;
|
||||
private string _BusinessWeldingWire;
|
||||
private string _BusinessWeldingRod;
|
||||
|
||||
[Column(Name = "TeamAuditMan", Storage = "_BusinessTeamAuditMan", DbType = "NVarChar(50)")]
|
||||
public string TeamAuditMan { get { return _BusinessTeamAuditMan; } set { SetAuditValue(ref _BusinessTeamAuditMan, value, "TeamAuditMan"); } }
|
||||
[Column(Name = "TeamAuditDate", Storage = "_BusinessTeamAuditDate", DbType = "DateTime")]
|
||||
public DateTime? TeamAuditDate { get { return _BusinessTeamAuditDate; } set { SetAuditValue(ref _BusinessTeamAuditDate, value, "TeamAuditDate"); } }
|
||||
[Column(Name = "ProfessionalAuditMan", Storage = "_BusinessProfessionalAuditMan", DbType = "NVarChar(50)")]
|
||||
public string ProfessionalAuditMan { get { return _BusinessProfessionalAuditMan; } set { SetAuditValue(ref _BusinessProfessionalAuditMan, value, "ProfessionalAuditMan"); } }
|
||||
[Column(Name = "ProfessionalAuditDate", Storage = "_BusinessProfessionalAuditDate", DbType = "DateTime")]
|
||||
public DateTime? ProfessionalAuditDate { get { return _BusinessProfessionalAuditDate; } set { SetAuditValue(ref _BusinessProfessionalAuditDate, value, "ProfessionalAuditDate"); } }
|
||||
[Column(Name = "WeldingMethodId", Storage = "_BusinessWeldingMethodId", DbType = "NVarChar(50)")]
|
||||
public string WeldingMethodId { get { return _BusinessWeldingMethodId; } set { SetAuditValue(ref _BusinessWeldingMethodId, value, "WeldingMethodId"); } }
|
||||
[Column(Name = "WeldTypeId", Storage = "_BusinessWeldTypeId", DbType = "NVarChar(50)")]
|
||||
public string WeldTypeId { get { return _BusinessWeldTypeId; } set { SetAuditValue(ref _BusinessWeldTypeId, value, "WeldTypeId"); } }
|
||||
[Column(Name = "WeldingWire", Storage = "_BusinessWeldingWire", DbType = "NVarChar(50)")]
|
||||
public string WeldingWire { get { return _BusinessWeldingWire; } set { SetAuditValue(ref _BusinessWeldingWire, value, "WeldingWire"); } }
|
||||
[Column(Name = "WeldingRod", Storage = "_BusinessWeldingRod", DbType = "NVarChar(50)")]
|
||||
public string WeldingRod { get { return _BusinessWeldingRod; } set { SetAuditValue(ref _BusinessWeldingRod, value, "WeldingRod"); } }
|
||||
|
||||
private void SetAuditValue<T>(ref T field, T value, string propertyName)
|
||||
{
|
||||
if (Equals(field, value)) return;
|
||||
SendPropertyChanging();
|
||||
field = value;
|
||||
SendPropertyChanged(propertyName);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user