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