12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #region Copyright © 2015 CLIPSOFT Co.,Ltd. All Rights Reserved.
- //
- // All rights are reserved. Reproduction or transmission in whole or in part,
- // in any form or by any means, electronic, mechanical or otherwise, is
- // prohibited without the prior written consent of the copyright owner.
- //
- // Filename:CategoryForDropdownVO.cs
- //
- #endregion
- using System;
- using System.ComponentModel;
- namespace CLIP.eForm.Consent.Entity {
- /// <summary>
- /// 서식 종류를 Dropdown에서 선택하기 위한 데이터 엔터티
- /// </summary>
- /// <remarks>
- /// <p>[설계자]</p>
- /// <p> 클립소프트 기술부 4팀 이창훈 (chlee@clipsoft.co.kr)</p>
- /// <p>[원본 작성자]</p>
- /// <p> 클립소프트 기술부 4팀 이창훈 (chlee@clipsoft.co.kr)</p>
- /// <p>[수정 작성자]</p>
- /// <p></p>
- /// <p>----------------------------------------------------------------------------------------</p>
- /// <p>[HISTORY]</p>
- /// <p> 2016-05-20 : 최초작성</p>
- /// <p>----------------------------------------------------------------------------------------</p>
- /// </remarks>
- [Serializable]
- public class CategoryForDropdownVO {
- public CategoryForDropdownVO() {
- foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(this)) {
- if (property.DisplayName == "categoryId") {
- property.SetValue(this, 0);
- } else if (property.DisplayName == "parentCategoryId") {
- property.SetValue(this, 0);
- } else {
- property.SetValue(this, "");
- }
- }
- }
- public int categoryId { get; set; }
- public string categoryCode { get; set; }
- public int parentCategoryId { get; set; }
- public string categoryName { get; set; }
- }
- }
|