#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 { /// /// 서식 종류를 Dropdown에서 선택하기 위한 데이터 엔터티 /// /// ///

[설계자]

///

클립소프트 기술부 4팀 이창훈 (chlee@clipsoft.co.kr)

///

[원본 작성자]

///

클립소프트 기술부 4팀 이창훈 (chlee@clipsoft.co.kr)

///

[수정 작성자]

///

///

----------------------------------------------------------------------------------------

///

[HISTORY]

///

2016-05-20 : 최초작성

///

----------------------------------------------------------------------------------------

///
[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; } } }