87 lines
2.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.ZZDT_EC
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创 建:超级管理员
/// 日 期2022-08-23 17:31
/// 描 述:命名规则,与对象类型和属性都有关联
/// </summary>
public class ec_objecttypenamingconvEntity
{
#region
/// <summary>
/// ObjectTypeNVID
/// </summary>
/// <returns></returns>
[Column("OBJECTTYPENVID")]
public string ObjectTypeNVID { get; set; }
/// <summary>
/// ObjectTypeID
/// </summary>
/// <returns></returns>
[Column("OBJECTTYPEID")]
public string ObjectTypeID { get; set; }
/// <summary>
/// ObjectTypePID
/// </summary>
/// <returns></returns>
[Column("OBJECTTYPEPID")]
public string ObjectTypePID { get; set; }
/// <summary>
/// ObjectTypePName
/// </summary>
/// <returns></returns>
[Column("OBJECTTYPEPNAME")]
public string ObjectTypePName { get; set; }
/// <summary>
/// Segmentno
/// </summary>
/// <returns></returns>
[Column("SEGMENTNO")]
public string Segmentno { get; set; }
/// <summary>
/// Length
/// </summary>
/// <returns></returns>
[Column("LENGTH")]
public string Length { get; set; }
/// <summary>
/// Sepator
/// </summary>
/// <returns></returns>
[Column("SEPATOR")]
public string Sepator { get; set; }
/// <summary>
/// Segmenttype
/// </summary>
/// <returns></returns>
[Column("SEGMENTTYPE")]
public string Segmenttype { get; set; }
#endregion
#region
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
this.ObjectTypeNVID = Guid.NewGuid().ToString();
}
/// <summary>
/// 编辑调用
/// </summary>
/// <param name="keyValue"></param>
public void Modify(string keyValue)
{
this.ObjectTypeNVID = keyValue;
}
#endregion
}
}